|
@@ -11,14 +11,7 @@ import org.apache.commons.lang3.ArrayUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.PutMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
import com.ruoyi.common.annotation.Log;
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
@@ -299,9 +292,8 @@ public class SysUserController extends BaseController
|
|
|
/**
|
|
|
* 查询这组用户中是否存在真实用户
|
|
|
*/
|
|
|
- @Anonymous
|
|
|
- @GetMapping("/selectUserByUserIds/{userIds}")
|
|
|
- public AjaxResult selectUserByUserIds(@PathVariable("userIds") List<Long> userIds){
|
|
|
- return AjaxResult.success(userService.selectUserByUserIds(userIds));
|
|
|
+ @GetMapping("/selectUserByUserIds")
|
|
|
+ public AjaxResult selectUserByUserIds(String userIds){
|
|
|
+ return AjaxResult.success(userService.selectUserByUserIds((List<Long>) JSON.parse(userIds)));
|
|
|
}
|
|
|
}
|