Commit 66a59673 by 宋毅

tj

parent 89eb3877
...@@ -352,6 +352,9 @@ class UtilsOrderService extends AppServiceBase { ...@@ -352,6 +352,9 @@ class UtilsOrderService extends AppServiceBase {
"client_ip": client_ip "client_ip": client_ip
}; };
var qftstr = await this.restClient.execPost(param, this.centerAppUrl + "payment/paymentApi/receiveCallBackNotify"); var qftstr = await this.restClient.execPost(param, this.centerAppUrl + "payment/paymentApi/receiveCallBackNotify");
if (!qftstr.stdout) {
return system.getResult(null, "回调app中receiveCallBackNotify方法返回信息为空,100255");
}
var qftjson = JSON.parse(qftstr.stdout); var qftjson = JSON.parse(qftstr.stdout);
return qftjson; return qftjson;
} catch (e) { } catch (e) {
...@@ -390,7 +393,7 @@ class UtilsOrderService extends AppServiceBase { ...@@ -390,7 +393,7 @@ class UtilsOrderService extends AppServiceBase {
return resultSign; 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); var locker = await this.cacheManager["TlPayLocker"].enter(parmas.out_trade_no);
if (!locker || locker != "1") { if (!locker || locker != "1") {
this.logCtl.info({ this.logCtl.info({
...@@ -421,7 +424,7 @@ class UtilsOrderService extends AppServiceBase { ...@@ -421,7 +424,7 @@ class UtilsOrderService extends AppServiceBase {
await this.utilsPushSve.pushInfo(opResult.data, "pushBusiness"); await this.utilsPushSve.pushInfo(opResult.data, "pushBusiness");
await this.utilsPushSve.pushInfo(opResult.data, "pushOrder"); await this.utilsPushSve.pushInfo(opResult.data, "pushOrder");
} }
// opResult.data = null; opResult.data = null;
return opResult; return opResult;
} 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