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

wechat check

parent 9a18b896
Pipeline #24420 passed with stage
in 4 seconds
......@@ -114,6 +114,8 @@ class WechatController extends Controller {
});
ctx.logger.info(parseObj);
ctx.logger.info(ctx.req);
ctx.logger.info(ctx.request);
return ctx.body;
}
}
......
......@@ -137,6 +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' ],
},
};
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