Commit fca3a629 by 魏强

update;

parent 74c1164a
...@@ -401,7 +401,7 @@ def force_refund(): ...@@ -401,7 +401,7 @@ def force_refund():
# #
# money = 2500 # money = 2500
else: else:
return jsonify({'code': -1, 'msg': 'refund type error!'}) return jsonify(BASE_RESPONSE(error_code=-1, error_message='refund type error!').to_dict())
production = rent_info.Production production = rent_info.Production
rent = rent_info.Rent rent = rent_info.Rent
...@@ -496,10 +496,10 @@ def rent_money_liuyuan(): ...@@ -496,10 +496,10 @@ def rent_money_liuyuan():
# 退5元 # 退5元
money = 500 money = 500
else: else:
return jsonify({'code': -1, 'msg': 'refund type error!'}) return jsonify(BASE_RESPONSE(error_code=-1, error_message='refund type error!').to_dict())
if money > real_total_consume: if money > real_total_consume:
return jsonify({'code': -1, 'msg': 'refund fee 大于可退金额!'}) return jsonify(BASE_RESPONSE(error_code=-1, error_message='refund fee 大于可退金额!').to_dict())
rent_refund_no = RentService.create_refund_no() rent_refund_no = RentService.create_refund_no()
......
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