瀏覽代碼

离线包状态

lyhzzz 6 月之前
父節點
當前提交
30c410793f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/ucenter/service/impl/SceneCooperationServiceImpl.java

+ 1 - 1
src/main/java/com/fdkankan/ucenter/service/impl/SceneCooperationServiceImpl.java

@@ -236,7 +236,7 @@ public class SceneCooperationServiceImpl extends ServiceImpl<ISceneCooperationMa
         if(param.getUserNameList() == null || param.getUserNameList().isEmpty() || StringUtils.isEmpty(param.getSceneNum())){
             throw new BusinessException(LoginConstant.FAILURE_CODE_3001, LoginConstant.FAILURE_MSG_3001);
         }
-        if(param.getUserName().contains( loginUserName)){
+        if(param.getUserNameList().contains( loginUserName)){
             throw new BusinessException(LoginConstant.FAILURE_CODE_3024, LoginConstant.FAILURE_MSG_3024);
         }
         User loginUser = userService.getByUserName(loginUserName);