laiguoran %!s(int64=5) %!d(string=hai) anos
pai
achega
0f94ed5b31
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;