laiguoran 5 năm trước cách đây
mục cha
commit
0f94ed5b31
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;