fix
This commit is contained in:
@@ -10,7 +10,6 @@ import com.starry.common.annotation.Log;
|
||||
import com.starry.common.enums.BusinessType;
|
||||
import com.starry.common.result.R;
|
||||
import com.starry.common.utils.ConvertUtil;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@@ -31,7 +30,7 @@ public class PlayUserInfoController {
|
||||
/**
|
||||
* 查询账号列表
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:user:list')")
|
||||
//@PreAuthorize("@customSs.hasPermission('play:user:list')")
|
||||
@PostMapping("/listByPage")
|
||||
public R listAll(@Validated @RequestBody PlayUserInfoQueryVo vo) {
|
||||
IPage<PlayUserInfoEntity> list = playUserInfoService.selectPlayUserInfoByPage(vo);
|
||||
@@ -41,7 +40,7 @@ public class PlayUserInfoController {
|
||||
/**
|
||||
* 获取账号详细信息
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:user:list')")
|
||||
//@PreAuthorize("@customSs.hasPermission('play:user:list')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R getInfo(@PathVariable("id") String id) {
|
||||
return R.ok(playUserInfoService.selectPlayUserInfoById(id));
|
||||
@@ -50,7 +49,7 @@ public class PlayUserInfoController {
|
||||
/**
|
||||
* 新增账号
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:user:add')")
|
||||
//@PreAuthorize("@customSs.hasPermission('play:user:add')")
|
||||
@Log(title = "账号", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/create")
|
||||
public R create(@Validated @RequestBody PlayUserInfoAddVo vo) {
|
||||
@@ -65,7 +64,7 @@ public class PlayUserInfoController {
|
||||
/**
|
||||
* 修改账号
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:user:update')")
|
||||
//@PreAuthorize("@customSs.hasPermission('play:user:update')")
|
||||
@Log(title = "账号", businessType = BusinessType.UPDATE)
|
||||
@PostMapping(value = "/update")
|
||||
public R update(@Validated @RequestBody PlayUserInfoUpEditVo vo) {
|
||||
@@ -80,7 +79,7 @@ public class PlayUserInfoController {
|
||||
/**
|
||||
* 删除账号
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:user:delete')")
|
||||
//@PreAuthorize("@customSs.hasPermission('play:user:delete')")
|
||||
@Log(title = "账号", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable String[] ids) {
|
||||
|
||||
Reference in New Issue
Block a user