feat:修改客服
This commit is contained in:
@@ -46,10 +46,11 @@ export function getCurrentMember() {
|
||||
}
|
||||
|
||||
export function getMessages({ userId, conversationId, page = 1, pageSize = 80 }) {
|
||||
const data = conversationId ? { userId, conversationId, page, pageSize } : { userId, page, pageSize }
|
||||
return kefuRequest({
|
||||
url: '/kefu/user/messages',
|
||||
method: 'get',
|
||||
data: { userId, conversationId, page, pageSize }
|
||||
data: data
|
||||
}).then(result => result.data || {})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user