fix
This commit is contained in:
@@ -6,7 +6,6 @@ import com.starry.admin.modules.commodity.service.IPlayServiceInfoService;
|
||||
import com.starry.common.annotation.Log;
|
||||
import com.starry.common.enums.BusinessType;
|
||||
import com.starry.common.result.R;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -28,7 +27,6 @@ public class PlayServiceInfoController {
|
||||
/**
|
||||
* 查询服务项目列表列表
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:info:list')")
|
||||
@GetMapping("/list")
|
||||
public R list(PlayServiceInfoEntity playServiceInfo) {
|
||||
IPage<PlayServiceInfoEntity> list = playServiceInfoService.selectPlayServiceInfoByPage(playServiceInfo);
|
||||
@@ -38,7 +36,6 @@ public class PlayServiceInfoController {
|
||||
/**
|
||||
* 获取服务项目列表详细信息
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:info:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R getInfo(@PathVariable("id") String id) {
|
||||
return R.ok(playServiceInfoService.selectPlayServiceInfoById(id));
|
||||
@@ -47,7 +44,6 @@ public class PlayServiceInfoController {
|
||||
/**
|
||||
* 新增服务项目列表
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:info:create')")
|
||||
@Log(title = "服务项目列表", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/create")
|
||||
public R create(@RequestBody PlayServiceInfoEntity playServiceInfo) {
|
||||
@@ -61,7 +57,6 @@ public class PlayServiceInfoController {
|
||||
/**
|
||||
* 修改服务项目列表
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:info:edit')")
|
||||
@Log(title = "服务项目列表", businessType = BusinessType.UPDATE)
|
||||
@PostMapping(value = "/update/{id}")
|
||||
public R update(@PathVariable String id, @RequestBody PlayServiceInfoEntity playServiceInfo) {
|
||||
@@ -76,7 +71,6 @@ public class PlayServiceInfoController {
|
||||
/**
|
||||
* 删除服务项目列表
|
||||
*/
|
||||
@PreAuthorize("@customSs.hasPermission('play:info:remove')")
|
||||
@Log(title = "服务项目列表", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable String[] ids) {
|
||||
|
||||
Reference in New Issue
Block a user