changes 融资性担保放大倍数参数问题
This commit is contained in:
parent
a6c700905f
commit
0e96001ec5
|
@ -7,14 +7,14 @@ router = APIRouter()
|
|||
|
||||
|
||||
class Params(BaseModel):
|
||||
年末融资性担保责任余额: float
|
||||
融资性担保责任余额: float
|
||||
净资产: float
|
||||
|
||||
|
||||
@router.post("/{}".format(INDEX))
|
||||
def func(p: Params):
|
||||
try:
|
||||
result = p.年末融资性担保责任余额 / p.净资产
|
||||
result = p.融资性担保责任余额 / p.净资产
|
||||
return round(result, 6)
|
||||
|
||||
except ZeroDivisionError:
|
||||
|
|
Loading…
Reference in New Issue