Commit f08eb3ad by 王昆

gsb

parent 01d9e067
...@@ -33,6 +33,7 @@ class TestApi { ...@@ -33,6 +33,7 @@ class TestApi {
return await this.imghandleApi.genPosterQrcodeImg(obj.qrcode, obj.bakImg); return await this.imghandleApi.genPosterQrcodeImg(obj.qrcode, obj.bakImg);
} }
async creatCompanyAccountId(obj) { //创建企业账号 async creatCompanyAccountId(obj) { //创建企业账号
var params = { var params = {
thirdId: obj.thirdId || "owD7y5AqMWjDSru10gDacEeA9Q5g", //企业用户在对接方的账号标识字段-该字段来唯一标识一个企业用户 thirdId: obj.thirdId || "owD7y5AqMWjDSru10gDacEeA9Q5g", //企业用户在对接方的账号标识字段-该字段来唯一标识一个企业用户
......
...@@ -24,7 +24,7 @@ class DownContractClient { ...@@ -24,7 +24,7 @@ class DownContractClient {
return; return;
} }
try { try {
await redisClient.setWithEx(this.KEY, 123, 60); await redisClient.setWithEx(this.KEY, 123, 60 * 5);
await this.doDownLoad(); await this.doDownLoad();
redisClient.delete(this.KEY); redisClient.delete(this.KEY);
} catch (e) { } catch (e) {
......
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