客服聊天系统对接及功能添加
This commit is contained in:
@@ -48,13 +48,13 @@ export function getUpdateRoom(data) {
|
||||
}
|
||||
|
||||
//图片上传接口
|
||||
export function getFileUpdate(data) {
|
||||
return request({
|
||||
url: `file/update`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// export function getFileUpdate(data) {
|
||||
// return request({
|
||||
// url: `file/update`,
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
|
||||
|
||||
//图根据当前用户邮箱查询聊天室id
|
||||
@@ -66,3 +66,13 @@ export function getUserid() {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//上传图片
|
||||
export function getFileUpdate(data) {
|
||||
return request({
|
||||
url: `pool/ticket/uploadFile`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user