fix: 提现申请放行退款审核中订单,管理员拒绝退款不再500
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -69,6 +69,7 @@ ORDER_STATUS_REFUNDED = 5
|
||||
DASHOU_WITHDRAW_APPLY_NON_BLOCKING_ORDER_STATUSES = (
|
||||
1, # 待抢单
|
||||
3, # 已完成
|
||||
4, # 退款审核中
|
||||
5, # 已退款
|
||||
6, # 退款失败
|
||||
7, # 指定中
|
||||
@@ -285,7 +286,7 @@ def _dashou_has_unfinished_orders(yonghuid):
|
||||
|
||||
|
||||
def _dashou_has_orders_blocking_withdraw_apply(yonghuid):
|
||||
"""打手提现申请专用:仅拦进行中(2)、退款审核中(4)等与该用户关联的订单。"""
|
||||
"""打手提现申请专用:仅拦进行中(2)等与该用户关联的订单。"""
|
||||
return Order.query.filter(
|
||||
PlayerID=yonghuid,
|
||||
).exclude(
|
||||
|
||||
Reference in New Issue
Block a user