Commit 6af096e1 authored by Aria's avatar Aria

add wx_sendText

parent 6cebaf2e
Pipeline #19699 passed with stage
in 1 minute 5 seconds
...@@ -36,9 +36,12 @@ class WechatService extends Service { ...@@ -36,9 +36,12 @@ class WechatService extends Service {
return; return;
} }
ctx.logger.info(data.MsgType);
if (data.MsgType === 'miniprogrampage') { if (data.MsgType === 'miniprogrampage') {
ctx.logger.info('------------miniprogrampage---------');
await this.sendImage(data); await this.sendImage(data);
} else if (data.MsgType === 'text') { } else if (data.MsgType === 'text') {
ctx.logger.info('------------sendText------');
await this.sendText(data); await this.sendText(data);
} }
......
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