Commit a495da31 by 魏强

update;

parent 8c564c9c
...@@ -356,15 +356,12 @@ def force_refund(): ...@@ -356,15 +356,12 @@ def force_refund():
return jsonify(REFUND_NOT_PRODUCTION_INFO) return jsonify(REFUND_NOT_PRODUCTION_INFO)
if refund_type == '1': if refund_type == '1':
# 扣15元 # 扣15元, 退84元
money = 1500 money = 8400
elif refund_type == '2': elif refund_type == '2':
# 扣25元 # 扣25元,退74元
money = 2500 money = 7400
elif refund_type == '3': elif refund_type == '3':
# 扣99元
money = 9900
elif refund_type == '4':
# 按时间扣款 # 按时间扣款
back_time = json_data.get('back_time', None) back_time = json_data.get('back_time', None)
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'),
......
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