feat: 代客下单增加删除历史订单同步

This commit is contained in:
2025-04-01 13:25:24 +08:00
parent 5cb9943d2f
commit 52fb5b9fb5
4 changed files with 43 additions and 36 deletions

View File

@@ -13,7 +13,7 @@ export interface ApifoxModel {
[property: string]: string | number | undefined; // 限制额外属性类型
}
export type msgType = 'add' | 'reduce' | 'remove' | 'edit' | 'init' | 'cleanup' | 'del' | 'rottable' | 'batch' | 'disconnect';
export type msgType = 'add' | 'reduce' | 'remove' | 'edit' | 'init' | 'cleanup' | 'del' | 'rottable' | 'batch' | 'disconnect' | 'clearOrder';
class WebSocketManager {
private client: WebSocket | null = null;