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

fix notify

parent a8a6105b
Pipeline #24559 passed with stage
in 4 seconds
......@@ -94,8 +94,6 @@ class WechatController extends Controller {
xmlData += '<return_msg><![CDATA[OK]]></return_msg>';
xmlData += '</xml>';
ctx.logger.info('notify_headers: ' + JSON.stringify(ctx.request.header));
let data = '';
ctx.req.setEncoding('utf8');
ctx.req.on('data', function(chunk) {
......
......@@ -137,16 +137,16 @@ module.exports = appInfo => {
exports.bodyParser = {
jsonLimit: '10mb',
formLimit: '10mb',
enable: true,
queryString: {
arrayLimit: 100,
depth: 5,
parameterLimit: 1000,
},
enableTypes: [ 'json', 'form', 'text' ],
extendTypes: {
text: [ 'text/xml', 'application/xml', 'text/html' ],
},
// enable: true,
// queryString: {
// arrayLimit: 100,
// depth: 5,
// parameterLimit: 1000,
// },
// enableTypes: [ 'json', 'form', 'text' ],
// extendTypes: {
// text: [ 'text/xml', 'application/xml', 'text/html' ],
// },
};
config.CDN_BASE_URL = 'https://r.51gjj.com/image/';
......
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