Commit d47fa494 authored by 任国军's avatar 任国军

fix notify

parent 807722c6
Pipeline #24532 passed with stage
in 5 seconds
...@@ -89,6 +89,7 @@ class WechatController extends Controller { ...@@ -89,6 +89,7 @@ class WechatController extends Controller {
async payNotify() { async payNotify() {
const { ctx } = this; const { ctx } = this;
ctx.set('Content-Type', 'text/xml'); ctx.set('Content-Type', 'text/xml');
ctx.logger.info('pay_no');
// 组装xml数据 // 组装xml数据
let xmlData = '<xml>'; let xmlData = '<xml>';
xmlData += '<return_code><![CDATA[SUCCESS]]></return_code>'; xmlData += '<return_code><![CDATA[SUCCESS]]></return_code>';
......
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