命令行提交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
+9 -5
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)
}
},