|
@@ -50,6 +50,9 @@ class LoginService extends CrudService {
|
|
|
if (marketuser.data.data.status !== '1') {
|
|
|
throw new BusinessError(ErrorCode.ACCESS_DENIED);
|
|
|
}
|
|
|
+ if (marketuser.data.data.isdel !== '0') {
|
|
|
+ throw new BusinessError(ErrorCode.ACCESS_DENIED);
|
|
|
+ }
|
|
|
} 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, {
|