From 6d5e215a9f071f31c9ba0ae764cdbd79f74ec474 Mon Sep 17 00:00:00 2001 From: qyyfw Date: Sat, 11 Jul 2026 16:13:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20api/index.ts=20=E8=A1=A5=E5=9B=9E=20imUs?= =?UTF-8?q?erAPI=20=E5=AF=BC=E5=87=BA(1346fbb=20=E6=9C=89,=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=A0=91=E9=81=97=E6=BC=8F),=20=E4=BE=9B=20WechatBot?= =?UTF-8?q?=20=E7=AD=89=E6=81=A2=E5=A4=8D=E9=A1=B5=E9=9D=A2=E4=BD=BF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/src/api/index.ts b/frontend/src/api/index.ts index 092f390..c1d222f 100644 --- a/frontend/src/api/index.ts +++ b/frontend/src/api/index.ts @@ -804,3 +804,12 @@ export const evolutionAPI = { }, getReportDetail: (reportId: string) => get(`/evolution/reports/${reportId}`), }; + +// ===== iLink 个人微信(前台用户) ===== +export const imUserAPI = { + getStatus: () => get('/im/wechat/status'), + qrcode: () => post('/im/wechat/qrcode'), + qrcodeStatus: (qrcode: string) => post(`/im/wechat/qrcode/status?qrcode=${encodeURIComponent(qrcode)}`), + disconnect: () => post('/im/wechat/disconnect'), + history: () => get('/im/wechat/history'), +};