增加修改支付宝账号后清除任务缓存

This commit is contained in:
2024-12-30 19:29:34 +08:00
parent 1611c92782
commit 94a75cd374

View File

@@ -6,6 +6,10 @@ import {
function successCallBack(url){
if(url.includes('app/courseCollect/insertCourseCollect')){
cacheClear('chasingDrama')
return
}
if(url.includes('app/user/updateUser') ){
cacheClear('renwu')
}
}
module.exports = {
@@ -79,6 +83,8 @@ module.exports = {
success: function(result) {
if (result.data.code == 401) {
that.logout();
}else{
successCallBack(url)
}
succ.call(self, result.data)
},