Browse Source

去掉权限

lidongyu 1 year ago
parent
commit
229a93b424

+ 0 - 6
ruoyi-admin/src/main/java/com/ruoyi/web/controller/handleAffairs/GridTypeController.java

@@ -26,7 +26,6 @@ public class GridTypeController extends BaseController {
     /**
      * 查询网格类型配置列表
      */
-    @PreAuthorize("@ss.hasPermi('jnb:gridType:list')")
     @GetMapping("/list")
     public TableDataInfo list(GridType GridType)
     {
@@ -38,7 +37,6 @@ public class GridTypeController extends BaseController {
     /**
      * 获取网格类型配置详细信息
      */
-    @PreAuthorize("@ss.hasPermi('jnb:gridType:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
     {
@@ -48,7 +46,6 @@ public class GridTypeController extends BaseController {
     /**
      * 新增网格类型配置
      */
-    @PreAuthorize("@ss.hasPermi('jnb:gridType:add')")
     @Log(title = "网格类型配置", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@Validated @RequestBody GridType GridType)
@@ -59,7 +56,6 @@ public class GridTypeController extends BaseController {
     /**
      * 修改网格类型配置
      */
-    @PreAuthorize("@ss.hasPermi('jnb:gridType:edit')")
     @Log(title = "网格类型配置", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@Validated @RequestBody GridType GridType)
@@ -70,7 +66,6 @@ public class GridTypeController extends BaseController {
     /**
      * 删除网格类型配置
      */
-    @PreAuthorize("@ss.hasPermi('jnb:gridType:remove')")
     @Log(title = "网格类型配置", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)
@@ -81,7 +76,6 @@ public class GridTypeController extends BaseController {
     /**
      * 导出网格类型配置列表
      */
-    @PreAuthorize("@ss.hasPermi('jnb:gridType:export')")
     @Log(title = "网格类型配置", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, GridType GridType)

+ 0 - 6
ruoyi-admin/src/main/java/com/ruoyi/web/controller/handleAffairs/TopicTypeController.java

@@ -34,7 +34,6 @@ public class TopicTypeController extends BaseController {
     /**
      * 查询主题类型配置列表
      */
-    @PreAuthorize("@ss.hasPermi('jnb:topicType:list')")
     @GetMapping("/list")
     public TableDataInfo list(TopicType topicType)
     {
@@ -46,7 +45,6 @@ public class TopicTypeController extends BaseController {
     /**
      * 导出主题类型配置列表
      */
-    @PreAuthorize("@ss.hasPermi('jnb:topicType:export')")
     @Log(title = "主题类型配置", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, TopicType topicType)
@@ -59,7 +57,6 @@ public class TopicTypeController extends BaseController {
     /**
      * 获取主题类型配置详细信息
      */
-    @PreAuthorize("@ss.hasPermi('jnb:topicType:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
     {
@@ -69,7 +66,6 @@ public class TopicTypeController extends BaseController {
     /**
      * 新增主题类型配置
      */
-    @PreAuthorize("@ss.hasPermi('jnb:topicType:add')")
     @Log(title = "主题类型配置", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@Validated @RequestBody TopicType topicType)
@@ -80,7 +76,6 @@ public class TopicTypeController extends BaseController {
     /**
      * 修改主题类型配置
      */
-    @PreAuthorize("@ss.hasPermi('jnb:topicType:edit')")
     @Log(title = "主题类型配置", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@Validated @RequestBody TopicType topicType)
@@ -91,7 +86,6 @@ public class TopicTypeController extends BaseController {
     /**
      * 删除主题类型配置
      */
-    @PreAuthorize("@ss.hasPermi('jnb:topicType:remove')")
     @Log(title = "主题类型配置", businessType = BusinessType.DELETE)
     @DeleteMapping("/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)