merge(douyu): 合入客户领取与直播账号履约

- 合入斗鱼客户资料收集、角色绑定和半自动履约工作台
- 合入事务 Outbox、签名 Webhook 与低频对账链路
- 合入双角色识别、绑定重置、取消释放账号和已分配状态修复
- 将斗鱼履约数据库变更合并为单个 171 迁移文件
- 更新拆分后的客户样式测试入口并适配最新 main 客户页样式
This commit is contained in:
yml
2026-11-18 11:10:04 +08:00
67 changed files with 8854 additions and 3980 deletions
@@ -11,8 +11,12 @@ const source = readFileSync(
),
'utf8',
)
const styles = readFileSync(
join(dirname(fileURLToPath(import.meta.url)), '../src/styles/client.css'),
const layoutStyles = readFileSync(
join(dirname(fileURLToPath(import.meta.url)), '../src/styles/customer/layout.css'),
'utf8',
)
const weiboStyles = readFileSync(
join(dirname(fileURLToPath(import.meta.url)), '../src/styles/customer/platform/weibo.css'),
'utf8',
)
@@ -53,10 +57,10 @@ test('微博订单卡只展示订单号/商品/平台/状态,不含游戏和
test('客户登录/绑定页顶部统一显示 inside-kv 背景,不再按平台区分', () => {
assert.match(
styles,
layoutStyles,
/\.customer-auth-hero \{[^}]*url\('\/images\/customer\/inside-kv\.jpg'\)[^}]*\}/s,
)
assert.ok(!styles.includes('.customer-auth-page.is-weibo .customer-auth-hero'))
assert.ok(!styles.includes('.customer-auth-page.is-huya .customer-auth-hero'))
assert.ok(styles.includes('.customer-auth-page.is-weibo .customer-auth-brand'))
assert.ok(!weiboStyles.includes('.customer-auth-page.is-weibo .customer-auth-hero'))
assert.ok(!layoutStyles.includes('.customer-auth-page.is-huya .customer-auth-hero'))
assert.ok(weiboStyles.includes('.customer-auth-page.is-weibo .customer-auth-brand'))
})