Commit 7e197aba by 蒋勇

d

parent 0211a33b
...@@ -82,13 +82,7 @@ class TaskBase{ ...@@ -82,13 +82,7 @@ class TaskBase{
var restResult=await this.restS.execPostWithAK(params,url,acck); var restResult=await this.restS.execPostWithAK(params,url,acck);
console.log("restResultrestResultrestResultrestResultrestResultrestResultrestResultrestResult"); console.log("restResultrestResultrestResultrestResultrestResultrestResultrestResultrestResult");
if(restResult){ if(restResult){
if(restResult.status==0){ return restResult;
var resultRtn=restResult.data;
return resultRtn;
}else{
await this.cacheManager["ApiAccessKeyCache"].invalidate(settings.appKey);
return null;
}
} }
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment