fix: 迁移积分/分红次数/冻结入账,并修正无计划误导文案

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-29 03:44:53 +08:00
parent 2b6d91fc4a
commit 7dc1dd6f04
5 changed files with 208 additions and 38 deletions

View File

@@ -138,7 +138,7 @@ def save_config(request, data: dict, operator: str = '') -> Tuple[Optional[dict]
source_scope = data.get('source_scope')
if source_scope is None:
# 默认同时覆盖订单结算与分红(管事/组长主要靠分红入账)
source_scope = ['order_settle', 'fenhong', 'withdraw_reject']
source_scope = ['order_settle', 'fenhong', 'withdraw_reject', 'club_migrate']
if isinstance(source_scope, str):
try:
source_scope = json.loads(source_scope)