API版本化:迁移聊天与账号任务入口

This commit is contained in:
Christ committed 2026-08-14 18:01:24 +08:00
1 parent 42e37f7898
commit d3648e9985
11 files changed
+166 -25

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ describe('online chat UI contract', () => {
test('frontend connects only to the application chat websocket', () => {
const chat = source('components/Chat.tsx');
expect(chat).toContain('/api/chat/ws');
expect(chat).toContain('/api/v1/chat/ws');
expect(chat).not.toContain('wss-goofish.dingtalk.com');
});