From d5bdf4cd56be6bd0e7afa81d75c35a9f15ae2a40 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 21 九月 2023 09:09:32 +0800 Subject: [PATCH] 主播接口 --- server/company/src/main/java/com/doumee/config/shiro/ShiroRealm.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/company/src/main/java/com/doumee/config/shiro/ShiroRealm.java b/server/company/src/main/java/com/doumee/config/shiro/ShiroRealm.java index 1f3e049..14dfc00 100644 --- a/server/company/src/main/java/com/doumee/config/shiro/ShiroRealm.java +++ b/server/company/src/main/java/com/doumee/config/shiro/ShiroRealm.java @@ -88,7 +88,7 @@ if(user == null){ throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"瀵逛笉璧凤紝璐﹀彿鎴栧瘑鐮佷笉姝g‘锛�"); } - if(!Constants.equalsInteger(user.getType(),Constants.UserType.COMPANY.getKey()) && !Constants.equalsInteger(user.getType(),Constants.UserType.ZHUBO.getKey())){ + if(!Constants.equalsInteger(user.getType(),Constants.UserType.COMPANY.getKey())){ throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"瀵逛笉璧凤紝闈炰紒涓氳处鎴疯韩浠斤紝鏃犳硶鐧诲綍璇ュ钩鍙帮紒锛�"); } if(!Constants.equalsInteger(user.getStatus(),Constants.ZERO)){ -- Gitblit v1.9.3