laiguoran vor 5 Jahren
Ursprung
Commit
0f94ed5b31
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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;