Commit 807722c6 authored by 任国军's avatar 任国军

fix notify

parent ff902366
Pipeline #24531 passed with stage
in 4 seconds
......@@ -106,6 +106,9 @@ class WechatController extends Controller {
resolve(data);
});
});
ctx.logger.info('getxml: ' + getxml);
const parseObj = await new Promise(function(resolve) {
xml2js(getxml, {
explicitArray: false,
......@@ -114,8 +117,6 @@ class WechatController extends Controller {
});
});
ctx.logger.info('getxml: ' + getxml);
if (!ctx.isEmpty(parseObj)) {
ctx.logger.info('wechat_pay_callback: ' + JSON.stringify(parseObj));
if (parseObj.xml.return_code === 'SUCCESS') {
......
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