fix: api/index.ts 补回 imUserAPI 导出(1346fbb 有, 工作树遗漏), 供 WechatBot 等恢复页面使用

This commit is contained in:
qyyfw committed 2026-07-11 16:13:52 +08:00
1 parent 223485848c
commit 6d5e215a9f
1 file changed
+9
+9
View File
@@ -804,3 +804,12 @@ export const evolutionAPI = {
}, },
getReportDetail: (reportId: string) => get<import('@/types').EvolutionReport>(`/evolution/reports/${reportId}`), getReportDetail: (reportId: string) => get<import('@/types').EvolutionReport>(`/evolution/reports/${reportId}`),
}; };
// ===== iLink 个人微信(前台用户) =====
export const imUserAPI = {
getStatus: () => get<any>('/im/wechat/status'),
qrcode: () => post<any>('/im/wechat/qrcode'),
qrcodeStatus: (qrcode: string) => post<any>(`/im/wechat/qrcode/status?qrcode=${encodeURIComponent(qrcode)}`),
disconnect: () => post<any>('/im/wechat/disconnect'),
history: () => get<any>('/im/wechat/history'),
};