fix: 渠道账号群聊同步缓存 key 及成员名称兜底;统一 Docker/Maven 项目约定
This commit is contained in:
@@ -28,6 +28,10 @@ export function initChannelAccount(data: any) {
|
||||
return client.post('/api/v1/channel-account/init', data)
|
||||
}
|
||||
|
||||
export function syncChannelAccountContacts(id: number) {
|
||||
return client.post(`/api/v1/channel-account/${id}/sync-contacts`)
|
||||
}
|
||||
|
||||
export function syncChannelAccountConversations(id: number) {
|
||||
return client.post(`/api/v1/channel-account/${id}/sync-conversations`)
|
||||
}
|
||||
|
||||
9
admin-web/src/api/syncTask.ts
Normal file
9
admin-web/src/api/syncTask.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import client from './client'
|
||||
|
||||
export function getSyncTask(id: number) {
|
||||
return client.get(`/api/v1/sync-task/${id}`)
|
||||
}
|
||||
|
||||
export function syncSubjectEnterpriseContacts(id: number) {
|
||||
return client.post(`/api/v1/channel-subject/${id}/sync-contacts`)
|
||||
}
|
||||
Reference in New Issue
Block a user