Commit ea669696 authored by xianyang's avatar xianyang

盲盒查询优化2

parent 0ddfbc55
......@@ -326,7 +326,7 @@ def blind_box_recharge(request: Request, token=Depends(login_required)):
if not all([query_params.get('start_time'), query_params.get('end_time')]):
return HttpResultResponse(code=500, msg='时间为必传参数')
data, money, count = BlindBoxRecharge(query_params).box_recharge()
return HttpResultResponse(total=count, money=float(money/1000), data=data)
return HttpResultResponse(total=count, money=money, data=data)
@router.get("/blind_box/excel")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment