Commit a6e4ee78 by 魏强

update;

parent a495da31
...@@ -367,6 +367,15 @@ def force_refund(): ...@@ -367,6 +367,15 @@ def force_refund():
money = RentService.check_fee_liuyuan(rent_info.Rent.pay_time.strftime('%Y-%m-%d %H:%M:%S'), money = RentService.check_fee_liuyuan(rent_info.Rent.pay_time.strftime('%Y-%m-%d %H:%M:%S'),
back_time.strftime('%Y-%m-%d %H:%M:%S'), back_time.strftime('%Y-%m-%d %H:%M:%S'),
rent_info.Rent.one_day_price, rent_info.Rent.free_time) rent_info.Rent.one_day_price, rent_info.Rent.free_time)
elif refund_type == '4':
# 退10元
money = 1000
elif refund_type == '5':
# 退15元
money = 1500
elif refund_type == '6':
# 退25元
money = 2500
else: else:
return jsonify({'code': -1, 'msg': 'refund type error!'}) return jsonify({'code': -1, 'msg': 'refund type error!'})
......
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