Commit a00bf12b by zhaoxiqing

gsb

parent e9407975
......@@ -13,6 +13,7 @@ class ApiAccessKeyCache extends CacheBase{
return "g_accesskey_";
}
async buildCacheVal(cachekey,inputkey,val,ex,...items){
try {
var acckapp=await this.restS.execPost({appkey:settings.appKey,secret:settings.secret},settings.paasUrl()+"api/auth/accessAuth/getAccessKey");
var s=acckapp.stdout;
if(s){
......@@ -21,6 +22,10 @@ class ApiAccessKeyCache extends CacheBase{
return JSON.stringify(tmp.data);
}
}
}catch (e) {
console.log(e)
}
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