fix: api/index.ts 补回 imUserAPI 导出(1346fbb 有, 工作树遗漏), 供 WechatBot 等恢复页面使用
This commit is contained in:
1 parent
223485848c
commit
6d5e215a9f
1 file changed
+9
@@ -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'),
|
||||||
|
};
|
||||||
Reference in new issue
Block a user