Commit ce683561 by 宋毅

tj

parent 0036c500
......@@ -30,7 +30,7 @@ class AppServiceBase {
}
for (let k = 0; k < keys.length; k++) {
const tKey = keys[k];
if (tKey != "sign" && params[tKey] && !(params[tKey] instanceof Array)) {
if (tKey != "sign" && params[tKey] && !(typeof (params[tKey]) === "object")) {
signArr.push(tKey + "=" + params[tKey]);
}
}
......
......@@ -406,7 +406,7 @@ class UtilsOrderService extends AppServiceBase {
return resultSign;
}
//获取充值业务锁
// await this.cacheManager["TlPayLocker"].init(parmas.out_trade_no);//---测试时放开
await this.cacheManager["TlPayLocker"].init(parmas.out_trade_no);//---测试时放开
var locker = await this.cacheManager["TlPayLocker"].enter(parmas.out_trade_no);
if (!locker || locker != "1") {
this.logCtl.info({
......
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