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;