Commit 2d6d7e19 authored by xiangzj's avatar xiangzj

优化接口

parent 6779e8df
......@@ -105,6 +105,11 @@ class Request {
url: "/pages/login/login"
})
}
uni.showToast({
title: '服务器异常',
duration: 2000,
icon: 'none'
})
reject(response)
}
}
......
......@@ -16,7 +16,7 @@ export async function apiFindUnreadMsg(params) {
* @returns {Promise<AxiosResponse<T>>}
*/
export async function apiEditStatus(params) {
const res = await apiHelper.post('/crm-app//message/editStatus', params, {
const res = await apiHelper.post('/crm-app/message/editStatus', params, {
'Content-Type': "application/x-www-form-urlencoded"
})
return res
......@@ -25,4 +25,4 @@ export async function apiEditStatus(params) {
export default {
apiFindUnreadMsg
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment