laiguoran 5 年之前
父節點
當前提交
0f94ed5b31
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/lib/wechat.js

+ 2 - 2
app/lib/wechat.js

@@ -165,8 +165,8 @@ class WX {
                     default:break;
                 }
                 if (msgData !== '' && templateId) {
-                    console.log(openid, templateId, url, msgData);
-                    // await this.ctx.app.wechat.api.sendTemplate(openid, templateId, url, '', msgData);
+                    // console.log(openid, templateId, url, msgData);
+                    await this.ctx.app.wechat.api.sendTemplate(openid, templateId, url, '', msgData);
                 }
             }
             flag = true;