Commit 873e78e2 authored by 姜登's avatar 姜登

gjj

parent a9df38d1
Pipeline #3937 passed with stage
in 2 seconds
...@@ -82,7 +82,7 @@ class PartnerService extends Service { ...@@ -82,7 +82,7 @@ class PartnerService extends Service {
}); });
ctx.logger.info(`【Partner】 fetchAgreements ${url}`, JSON.stringify(ret.data)); ctx.logger.info(`【Partner】 fetchAgreements ${url}`, JSON.stringify(ret.data));
if (ret.status === 200 && ret.data && ret.data.id === id) { if (ret.status === 200 && ret.data && ret.data.id === id) {
await this.app.cache.set(redisScriptsPrefix + appKey, JSON.stringify(ret.data), 300); await this.app.cache.set(redisAgreementsPrefix + appKey, JSON.stringify(ret.data), 300);
} }
return ret.data; return ret.data;
} }
......
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