Commit 4c73776a by 魏强

update;

parent 9a3b41fd
......@@ -379,8 +379,9 @@ def force_refund():
if not comment or not back_time:
return jsonify(PARAMETER_ERROR)
money = RentService.check_fee_liuyuan(rent_info.Rent.pay_time.strftime('%Y-%m-%d %H:%M:%S'), back_time,
check_fee = RentService.check_fee_liuyuan(rent_info.Rent.pay_time.strftime('%Y-%m-%d %H:%M:%S'), back_time,
rent_info.Rent.one_day_price, rent_info.Rent.free_time)
money = check_fee['total']
# elif refund_type == '4':
# # 退10元
# if not comment:
......
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