From a16b2f2c2b484845d38a1536c39b35febcc3a9a4 Mon Sep 17 00:00:00 2001 From: P3ngSaM <61768364+P3ngSaM@users.noreply.github.com> Date: Fri, 6 Jan 2023 10:00:01 +0800 Subject: [PATCH] =?UTF-8?q?changes=20=E8=90=A5=E4=B8=9A=E5=88=A9=E6=B6=A6?= =?UTF-8?q?=E7=8E=87=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 基本信用评级指标/盈利能力/营业利润率.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/基本信用评级指标/盈利能力/营业利润率.py b/基本信用评级指标/盈利能力/营业利润率.py index 51dcd59..65d549a 100644 --- a/基本信用评级指标/盈利能力/营业利润率.py +++ b/基本信用评级指标/盈利能力/营业利润率.py @@ -8,14 +8,14 @@ router = APIRouter() class Params(BaseModel): - 利润总额: float + 营业利润: float 营业收入: float @router.post("/{}".format(INDEX)) def func(p: Params): try: - result = p.利润总额 / p.营业收入 * 100 + result = p.营业利润 / p.营业收入 * 100 return round(result, 2) except ZeroDivisionError: