Commit 9558c7a5 authored by 任国军's avatar 任国军

fix request.post

parent 0312a3f9
Pipeline #15306 passed with stage
in 44 seconds
......@@ -8,6 +8,9 @@ const request = require('request');
class WechatController extends Controller {
async test() {
const { ctx, service } = this;
const data = {MsgType: 'miniprogrampage'};
await service.course.wechat.sendMsg(data);
ctx.success();
}
async callbackAction() {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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