黑龙江民政完成

This commit is contained in:
aixianling
2022-10-25 15:47:46 +08:00
parent c6f85fa328
commit 60c2f64672
6 changed files with 79 additions and 78 deletions

View File

@@ -31,8 +31,9 @@ instance.interceptors.response.use(res => {
if (res.data) {
if (res.data.access_token) {
return res.data
}
if (res.data.code == 0) {
} else if (res.config.alwaysReturn) {
return res.data
} else if (res.data.code == 0) {
return res.data
} else if (res.data.code === 1) {
uni.showToast({