命令行提交1

This commit is contained in:
zoujiandong 2025-08-05 11:33:53 +08:00
parent 8dadc2be09
commit 11f1a6d727
3 changed files with 16 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@ -82,10 +82,12 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
});
n(res);
} else {
common_vendor.index.showToast({
title: res.data.message,
icon: "none"
});
if (url.indexOf("/login/hcp") != -1) {
common_vendor.index.showToast({
title: res.data.message,
icon: "none"
});
}
n(res);
}
},

View File

@ -167,6 +167,7 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
}
} else if (res.data.code == 500) {
uni.showToast({
title: res.data.message,
icon: 'none',
@ -174,11 +175,14 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
})
n(res)
} else {
uni.showToast({
title: res.data.message,
icon: 'none',
})
if(url.indexOf('/login/hcp')!=-1){
uni.showToast({
title: res.data.message,
icon: 'none',
})
}
n(res)
}
},