Sfoglia il codice sorgente

Merge branch 'master' of http://git.cc-lotus.info/service-platform/service-auth

liuyu 5 anni fa
parent
commit
ff5e2f4af5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/service/login.js

+ 1 - 1
app/service/login.js

@@ -43,7 +43,7 @@ class LoginService extends CrudService {
       if (marketuser.data.data.status !== '1') {
         throw new BusinessError(ErrorCode.ACCESS_DENIED);
       }
-    } else if (_user.role === '5') {
+    } else if (_user.role === '6') {
       const url = 'http://127.0.0.1:9004/api/market/expertsuser/' + _user.uid;
       const expertsuser = await this.ctx.curl(url, {
         method: 'get',