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

+ 1 - 1
app/controller/weixin.js

@@ -105,7 +105,7 @@ class WeixinController extends Controller {
           console.log('用户信息2--->' + user_.role);
           // user_ = await this.checkVip(user_);
           if (user_.role === '8') {
-            const url = 'http://127.0.0.1:9008/api/live/dock/getdock/' + id;
+            const url = 'http://127.0.0.1:9008/api/live/dock/getdock/' + user_.id;
             const vipuser = await this.ctx.curl(url, {
               method: 'post',
               headers: {