changes 小bug(写漏字了)
This commit is contained in:
parent
b0ced9ea02
commit
a6c700905f
|
@ -8,13 +8,13 @@ router = APIRouter()
|
|||
|
||||
|
||||
class Params(BaseModel):
|
||||
所有者权益合计: float
|
||||
所有者权益: float
|
||||
|
||||
|
||||
@router.post("/{}".format(INDEX))
|
||||
def func(p: Params):
|
||||
try:
|
||||
result = p.所有者权益合计 / 100000000
|
||||
result = p.所有者权益 / 100000000
|
||||
return round(result, 6)
|
||||
|
||||
except ZeroDivisionError:
|
||||
|
|
Loading…
Reference in New Issue