lrf402788946 4 年之前
父节点
当前提交
dbe2a806a3
共有 1 个文件被更改,包括 1 次插入2 次删除
  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);
   }
 
 }