| 
					
				 | 
			
			
				@@ -2,6 +2,8 @@ package com.fs.user; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.common.constant.HttpStatus; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.common.core.controller.BaseController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.fs.common.core.domain.R; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.fs.common.core.domain.ResponseResult; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.common.core.page.TableDataInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.common.utils.ServletUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.fs.core.security.LoginUser; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -39,6 +41,7 @@ public class FsUserAdminController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public TableDataInfo pageList(@RequestBody FsUserPageListParam param) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         param.setCompanyId(loginUser.getCompany().getCompanyId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        param.setPcLoginUserId(loginUser.getUser().getUserId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<FsUserPageListVO> list = fsUserService.selectFsUserPageListNew(param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Long total = fsUserService.selectFsUserCount(param); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -50,5 +53,15 @@ public class FsUserAdminController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return rspData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @PostMapping("/auditUser") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiOperation("审核用户(移除小黑屋)") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public R auditUser(@RequestBody String[] userIds) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Boolean r = fsUserService.disabledUser(userIds, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (r) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return R.ok(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return R.error(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |