lrf402788946 4 anos atrás
pai
commit
a4d7ee66f4
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      app/service/weixin.js

+ 2 - 1
app/service/weixin.js

@@ -267,7 +267,7 @@ class WeixinAuthService extends AxiosService {
     console.log('templateid---' + templateid);
     console.log('openid---' + openid);
     console.log('requestData---' + JSON.stringify(requestData));
-    await this.ctx.curl(url, {
+    const res = await this.ctx.curl(url, {
       method: 'post',
       headers: {
         'content-type': 'application/json',
@@ -275,6 +275,7 @@ class WeixinAuthService extends AxiosService {
       dataType: 'json',
       data: JSON.stringify(requestData),
     });
+    console.error(res);
   }
 
 }