feat(fulfillment): 支持共享账号操作并完善时间线
This commit is contained in:
@@ -406,6 +406,8 @@ class ManualMixin:
|
||||
"spent": spent,
|
||||
},
|
||||
source="manual",
|
||||
actor_type="user",
|
||||
actor_id=int(task.created_by),
|
||||
source_ref=(
|
||||
f"elite_opened:{account.id}:{int(account.updated_at.timestamp())}"
|
||||
),
|
||||
@@ -509,6 +511,8 @@ class ManualMixin:
|
||||
amount=-spent if spent else None,
|
||||
detail={"points": account.esports_points, "spent": spent},
|
||||
source="manual",
|
||||
actor_type="user",
|
||||
actor_id=int(task.created_by),
|
||||
source_ref=(
|
||||
f"esports_opened:{account.id}:{int(account.updated_at.timestamp())}"
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user