liuyu 4 年之前
父节点
当前提交
fd02cdd969
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/weixin.js

+ 1 - 1
app/controller/weixin.js

@@ -137,7 +137,7 @@ class WeixinController extends Controller {
         } else {
           const url = 'http://127.0.0.1:9008/api/live/dock/dockopenid?openid=' + openid;
           const dockuser = await this.ctx.curl(url, {
-            method: 'post',
+            method: 'get',
             headers: {
               'content-type': 'application/json',
             },