|
@@ -85,30 +85,28 @@ export class ChatManagementHttpService {
|
|
// 获取客服对话列表
|
|
// 获取客服对话列表
|
|
async getStaffSessionList(
|
|
async getStaffSessionList(
|
|
staff_id: string,
|
|
staff_id: string,
|
|
- page?: number,
|
|
|
|
|
|
+ page_id?: number,
|
|
page_size?: number
|
|
page_size?: number
|
|
): Promise<ServiceResponse<StaffSession[]>> {
|
|
): Promise<ServiceResponse<StaffSession[]>> {
|
|
return this.makeRequest<StaffSession[]>('getStaffSessionList', {
|
|
return this.makeRequest<StaffSession[]>('getStaffSessionList', {
|
|
staff_id,
|
|
staff_id,
|
|
- page,
|
|
|
|
|
|
+ page_id,
|
|
page_size
|
|
page_size
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
// 获取客服微信对话详情列表
|
|
// 获取客服微信对话详情列表
|
|
async getConversationList(
|
|
async getConversationList(
|
|
- customer_id: string,
|
|
|
|
|
|
+ user_id: string,
|
|
staff_id: string,
|
|
staff_id: string,
|
|
status?: number,
|
|
status?: number,
|
|
- page?: number,
|
|
|
|
- size?: number
|
|
|
|
|
|
+ page_id?: number
|
|
): Promise<ServiceResponse<ChatConversation[]>> {
|
|
): Promise<ServiceResponse<ChatConversation[]>> {
|
|
return this.makeRequest<ChatConversation[]>('getConversationList', {
|
|
return this.makeRequest<ChatConversation[]>('getConversationList', {
|
|
- customer_id,
|
|
|
|
|
|
+ user_id,
|
|
staff_id,
|
|
staff_id,
|
|
status,
|
|
status,
|
|
- page,
|
|
|
|
- size
|
|
|
|
|
|
+ page_id
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|