This commit is contained in:
zoujiandong
2025-07-28 08:44:46 +08:00
parent 607ff57b2f
commit 071ab8de73
95 changed files with 76 additions and 51 deletions
+13 -1
View File
@@ -91,7 +91,19 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
};
if (res.data.code == 200) {
e(res)
} else if (res.data.code == 401 || res.data.code == 403 || res.data.code == 405 || res.data.code == 406) {
}else if(res.data.code == 201){
uni.showModal({
title:'提示',
content:'该作品已被删除',
showCancel:false,
success: function (res) {
if (res.confirm) {
uni.navigateBack()
}
}
})
n(res)
}else if (res.data.code == 401 || res.data.code == 403 || res.data.code == 405 || res.data.code == 406) {
if(process.env.UNI_PLATFORM =="h5"){
let video_token = cookie.readCookie('video_token');
console.log(video_token);