feat: 对齐闲鱼续期流程并完善业务管理

对齐官方 WebSocket 批量握手、注册、心跳、ACK、同步恢复及运行时设备标识生命周期。

保留 Cookie 完整属性,接入静默续期和保存登录信息设置,并在凭证更新后重建账号连接。

完善订单与商品同步、卡券和通知渠道交互,更新前端品牌、时间展示及嵌入资源。

补充 Go 与前端回归测试,确保完整检查和生产构建通过。
This commit is contained in:
Christ committed 2026-07-22 12:51:52 +08:00
1 parent 3cc1d4094d
commit d77c317452
69 files changed
+3169 -819

No files matched your search

+3 -2
View File
@@ -71,13 +71,14 @@ describe('frontend navigation routing', () => {
expect(settings).toContain('只有网络不可用或超时才回退本机引擎');
});
test('email notification config uses backend recipient field names', () => {
test('email notification config separates system and custom SMTP modes', () => {
const notifications = readFrontendFile('components/Notifications.tsx');
expect(notifications).toContain('interface NotificationsProps');
expect(notifications).toContain('isAdmin && (');
expect(notifications).toContain("key: 'to_email'");
expect(notifications).toContain('留空时使用上方系统级 SMTP 配置');
expect(notifications).toContain('完整继承系统 SMTP');
expect(notifications).toContain('use_custom_smtp');
expect(notifications).not.toContain("key: 'from'");
expect(notifications).not.toContain('注册验证码');
});