feat(douyu): 落地账号平台同步与登录配额

This commit is contained in:
yml
2026-11-21 21:27:14 +08:00
parent 72bc346c9b
commit 1d262cdfd9
30 changed files with 3087 additions and 85 deletions
+3
View File
@@ -117,8 +117,11 @@ def test_sync_stores_time_window_and_next_boundary(db):
assert state.availability == "limited"
assert state.time_limited is True
assert state.available_until == end_at
assert state.valid_until == end_at
assert state.next_check_at == end_at
assert state.schedule_json
assert state.raw_json["timeLimited"] == 1
assert state.raw_json["specTimes"][0]["endTime"] == str(int(end_at.timestamp()))
def test_sync_account_goods_states_writes_capabilities_and_exchange_stats(db):