feat(fulfillment): 支持共享账号操作并完善时间线

This commit is contained in:
yml
2026-11-18 22:32:45 +08:00
parent 86b586b96d
commit ddead2284d
23 changed files with 538 additions and 15 deletions
+3
View File
@@ -61,6 +61,7 @@ class TestConstructors(_Base):
amount=100,
channel="wechat_qr",
douyu_uid="u1",
actor_id=self.user.id,
)
is True
)
@@ -73,6 +74,8 @@ class TestConstructors(_Base):
assert event.source_ref == "douyu_task:101"
assert event.detail["channel"] == "wechat_qr"
assert event.detail["confirmed"] is True
assert event.actor_type == "user"
assert event.actor_id == self.user.id
def test_recharge_without_amount_still_records(self):
"""金额拿不到时宁可记一条金额为空的事件,也不要凭空编一个数字。"""