|
@@ -20,10 +20,11 @@ export const wxRequest = (url,data) => {
|
|
|
},
|
|
|
method: 'POST',
|
|
|
success (response) {
|
|
|
+ console.log('当前请求地址:', url, '当前请求返回:', response.data);
|
|
|
if (response.statusCode !== 200) {
|
|
|
wx.showToast({
|
|
|
title: response.errMsg || '请求错误',
|
|
|
- icon: 'error',
|
|
|
+ icon:'none',
|
|
|
duration: 2500,
|
|
|
mask: true
|
|
|
})
|
|
@@ -31,7 +32,7 @@ export const wxRequest = (url,data) => {
|
|
|
if (response.data.code !== '000') {
|
|
|
wx.showToast({
|
|
|
title: response.data.msg || '请求错误',
|
|
|
- icon: 'error',
|
|
|
+ icon:'none',
|
|
|
duration: 2500,
|
|
|
mask: true
|
|
|
})
|