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

add wechat check

parent e700a7bd
Pipeline #15262 passed with stage
in 36 seconds
'use strict';
const Controller = require('egg').Controller;
const crypto = require('crypto');
class WechatController extends Controller {
async test() {
......@@ -37,7 +38,7 @@ class WechatController extends Controller {
if (resultCode === signature) {
ctx.success(echostr);
} else {
ctx.failed();
ctx.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