|
@@ -1,19 +1,5 @@
|
|
package com.ruixuan.web.controller.system;
|
|
package com.ruixuan.web.controller.system;
|
|
|
|
|
|
-import java.util.Arrays;
|
|
|
|
-import java.util.List;
|
|
|
|
-import java.util.stream.Collectors;
|
|
|
|
-import javax.servlet.http.HttpServletResponse;
|
|
|
|
-
|
|
|
|
-import io.swagger.annotations.Api;
|
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
|
-import io.swagger.annotations.ApiParam;
|
|
|
|
-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.*;
|
|
|
|
-import org.springframework.web.multipart.MultipartFile;
|
|
|
|
import com.ruixuan.common.annotation.Log;
|
|
import com.ruixuan.common.annotation.Log;
|
|
import com.ruixuan.common.constant.UserConstants;
|
|
import com.ruixuan.common.constant.UserConstants;
|
|
import com.ruixuan.common.core.controller.BaseController;
|
|
import com.ruixuan.common.core.controller.BaseController;
|
|
@@ -28,6 +14,28 @@ import com.ruixuan.common.utils.poi.ExcelUtil;
|
|
import com.ruixuan.system.service.ISysPostService;
|
|
import com.ruixuan.system.service.ISysPostService;
|
|
import com.ruixuan.system.service.ISysRoleService;
|
|
import com.ruixuan.system.service.ISysRoleService;
|
|
import com.ruixuan.system.service.ISysUserService;
|
|
import com.ruixuan.system.service.ISysUserService;
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
|
+import io.swagger.annotations.ApiParam;
|
|
|
|
+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.RequestParam;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
|
+
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
|
+import java.util.Arrays;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 用户信息
|
|
* 用户信息
|
|
@@ -64,7 +72,6 @@ public class SysUserController extends BaseController {
|
|
/**
|
|
/**
|
|
* 获取用户列表
|
|
* 获取用户列表
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('system:user:list')")
|
|
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
public TableDataInfo list(SysUser user) {
|
|
public TableDataInfo list(SysUser user) {
|
|
startPage();
|
|
startPage();
|