Commit d1b9ba29 by 宋毅

tj

parent f23b5faa
......@@ -314,7 +314,7 @@ class tmqueryCtl extends CtlBase {
// "returnUrl":"https://buy.jdcloud.com/pay?orderId=523198741458590844","saasCheckUrl":null}}' }
this.logClient.info("jd", "opPayPageInfo--tmpResult-->" + JSON.stringify(tmpResult));
if (tmpResult && tmpResult.result && tmpResult.result == true) {
var payDataResult = JSON.parse(tmpResult.data);
if (payDataResult && payDataResult.success && payDataResult.success == true) {
......@@ -407,8 +407,9 @@ class tmqueryCtl extends CtlBase {
for (let [key, value] of ctx.headers) {
options.headers[key] = value
}
console.log("\n post options:\n", options);
console.log("\n tmpContent:\n", tmpContent);
this.logClient.info("jd", "req---->getPayPageAddr---->options:" + options);
this.logClient.info("jd", "req---->getPayPageAddr---->tmpContent:" + tmpContent);
var reqResult = await new Promise(function (resolve, reject) {
let req = http.request(options, function (res) {
// res.setEncoding(encoding);
......
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