增加修改支付宝账号后清除任务缓存
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user