Commit 6cebaf2e authored by Aria's avatar Aria

add wx_sendText

parent 448050a8
Pipeline #19698 passed with stage
in 2 seconds
...@@ -49,6 +49,8 @@ class WechatService extends Service { ...@@ -49,6 +49,8 @@ class WechatService extends Service {
const { ctx } = this; const { ctx } = this;
if (ctx.isEmpty(data) || ctx.isEmpty(data.Content) || !data.Content.includes('在线课程编号:')) { if (ctx.isEmpty(data) || ctx.isEmpty(data.Content) || !data.Content.includes('在线课程编号:')) {
ctx.logger.info(data.Content);
ctx.logger.info(data.Content.includes('在线课程编号:'));
return; return;
} }
const id = data.Content.replace('在线课程编号:', ''); const id = data.Content.replace('在线课程编号:', '');
......
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