liuyu há 4 anos atrás
pai
commit
fd02cdd969
1 ficheiros alterados com 1 adições e 1 exclusões
  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',
             },