lrf402788946 4 years ago
parent
commit
dbe2a806a3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/service/wechat.js

+ 1 - 2
app/service/wechat.js

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