Commit 32d16f1c authored by 任国军's avatar 任国军

fix wechat bug

parent 66088bad
Pipeline #22627 passed with stage
in 18 seconds
...@@ -9,13 +9,13 @@ class WechatController extends Controller { ...@@ -9,13 +9,13 @@ class WechatController extends Controller {
async test() { async test() {
const { ctx, service } = this; const { ctx, service } = this;
const data = { MsgType: 'miniprogrampage' }; const data = { MsgType: 'miniprogrampage' };
await service.course.v4.wechat.sendMsg(data); await service.course.v5.wechat.sendMsg(data);
ctx.success(); ctx.success();
} }
async callbackAction() { async callbackAction() {
const { ctx, service } = this; const { ctx, service } = this;
await service.course.v4.wechat.callbackAction(); await service.course.v5.wechat.callbackAction();
ctx.success('success'); ctx.success('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