diff --git a/zc-business/src/main/java/com/zc/business/controller/DcVoiceBroadcastController.java b/zc-business/src/main/java/com/zc/business/controller/DcVoiceBroadcastController.java index 0e36e238..4c6f014e 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DcVoiceBroadcastController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DcVoiceBroadcastController.java @@ -36,7 +36,7 @@ public class DcVoiceBroadcastController extends BaseController * 查询语音广播预发布列表 */ @ApiOperation("查询语音广播预发布列表") - @PreAuthorize("@ss.hasPermi('system:broadcast:list')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:list')") @GetMapping("/list") public TableDataInfo list(DcVoiceBroadcast dcVoiceBroadcast) { @@ -48,7 +48,7 @@ public class DcVoiceBroadcastController extends BaseController * 查询语音广播预发布列表 */ @ApiOperation("无分页查询语音广播预发布列表") - @PreAuthorize("@ss.hasPermi('system:broadcast:listAll')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:listAll')") @GetMapping("/listAll") public TableDataInfo listAll(DcVoiceBroadcast dcVoiceBroadcast) { @@ -59,7 +59,7 @@ public class DcVoiceBroadcastController extends BaseController * 根据模版类型查询查询语音广播预发布列表 */ @ApiOperation("根据模版类型查询查询语音广播预发布列表") - @PreAuthorize("@ss.hasPermi('system:broadcast:listId')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:listId')") @GetMapping("/listAll/{category}") public TableDataInfo listByCategory(@PathVariable("category") String category) { @@ -72,7 +72,7 @@ public class DcVoiceBroadcastController extends BaseController */ @ApiOperation("导出语音广播预发布列表") - @PreAuthorize("@ss.hasPermi('system:broadcast:export')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:export')") @Log(title = "语音广播预发布", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, DcVoiceBroadcast dcVoiceBroadcast) @@ -87,7 +87,7 @@ public class DcVoiceBroadcastController extends BaseController */ @ApiOperation("根据id获取语音广播预发布详细信息") - @PreAuthorize("@ss.hasPermi('system:broadcast:query')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -99,7 +99,7 @@ public class DcVoiceBroadcastController extends BaseController */ @ApiOperation("新增语音广播预发布") - @PreAuthorize("@ss.hasPermi('system:broadcast:add')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:add')") @Log(title = "语音广播预发布", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody DcVoiceBroadcast dcVoiceBroadcast) @@ -111,7 +111,7 @@ public class DcVoiceBroadcastController extends BaseController * 修改语音广播预发布 */ @ApiOperation("修改语音广播预发布") - @PreAuthorize("@ss.hasPermi('system:broadcast:edit')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:edit')") @Log(title = "语音广播预发布", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody DcVoiceBroadcast dcVoiceBroadcast) @@ -123,7 +123,7 @@ public class DcVoiceBroadcastController extends BaseController * 删除语音广播预发布 */ @ApiOperation("删除语音广播预发布") - @PreAuthorize("@ss.hasPermi('system:broadcast:remove')") +// @PreAuthorize("@ss.hasPermi('system:broadcast:remove')") @Log(title = "语音广播预发布", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids)