cheny před 4 roky
rodič
revize
a8213ec69d
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      app/service/login.js

+ 3 - 3
app/service/login.js

@@ -58,9 +58,9 @@ class LoginService extends CrudService {
         throw new BusinessError(ErrorCode.ACCESS_DENIED);
         throw new BusinessError(ErrorCode.ACCESS_DENIED);
       }
       }
     } else if (_user.role === '8') {
     } else if (_user.role === '8') {
-      console.log('_user.uid------------------------------->>>>>>>>>>>>>>>>>>>');
-      console.log(_user);
-      const url = 'http://127.0.0.1:9008/api/live/dock/getdock/' + _user.uid;
+      // console.log('_user.uid------------------------------->>>>>>>>>>>>>>>>>>>');
+      // console.log(_user);
+      const url = 'http://127.0.0.1:9008/api/live/dock/getdock/' + _user.id;
       const vipuser = await this.ctx.curl(url, {
       const vipuser = await this.ctx.curl(url, {
         method: 'post',
         method: 'post',
         headers: {
         headers: {