From d3bf339bd64d7b7efddc0afdd4beb1866b8b5a04 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 21 九月 2024 00:47:55 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeCategoryController.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeCategoryController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeCategoryController.java
index ef1546f..dfd71d7 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeCategoryController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeCategoryController.java
@@ -26,12 +26,12 @@
import com.ruoyi.common.core.page.TableDataInfo;
/**
- * 瀹f暀鍒嗙被Controller
+ * 瀹f暀鍒嗙被(琛ㄦ病浜嗭紝浣滃簾)Controller
*
* @author smartor
* @date 2023-03-04
*/
-@Api("瀹f暀鍒嗙被(瀹f暀绫诲埆)")
+@Api("瀹f暀鍒嗙被(浣滃簾)")
@RestController
@RequestMapping("/smartor/hecategory")
public class HeCategoryController extends BaseController {
@@ -42,10 +42,10 @@
* 鏌ヨ瀹f暀鍒嗙被鍒楄〃
*/
@ApiOperation("鏌ヨ瀹f暀鍒嗙被鍒楄〃")
- @PreAuthorize("@ss.hasPermi('smartor:hecategory:list')")
+ //@PreAuthorize("@ss.hasPermi('smartor:hecategory:list')")
@PostMapping("/selectHeCategoryList")
- public TableDataInfo selectHeCategorylist(@RequestBody HeCategory heCategory) {
- startPage();
+ public TableDataInfo selectHeCategorylist(@RequestBody HeCategory heCategory) {
+ // startPage();
List<HeCategoryVO> list = heCategoryService.selectHeCategoryList(heCategory);
return getDataTable(list);
}
@@ -54,7 +54,7 @@
* 瀵煎嚭瀹f暀鍒嗙被鍒楄〃
*/
@ApiOperation("瀵煎嚭瀹f暀鍒嗙被鍒楄〃")
- @PreAuthorize("@ss.hasPermi('smartor:hecategory:export')")
+ //@PreAuthorize("@ss.hasPermi('smartor:hecategory:export')")
@Log(title = "瀹f暀鍒嗙被", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, HeCategory heCategory) {
@@ -67,7 +67,7 @@
* 鑾峰彇瀹f暀鍒嗙被璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇瀹f暀鍒嗙被璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('smartor:hecategory:query')")
+ //@PreAuthorize("@ss.hasPermi('smartor:hecategory:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(heCategoryService.selectHeCategoryById(id));
@@ -77,7 +77,7 @@
* 鏂板瀹f暀鍒嗙被
*/
@ApiOperation("鏂板瀹f暀鍒嗙被")
- @PreAuthorize("@ss.hasPermi('smartor:hecategory:add')")
+ //@PreAuthorize("@ss.hasPermi('smartor:hecategory:add')")
@Log(title = "瀹f暀鍒嗙被", businessType = BusinessType.INSERT)
@PostMapping("/add")
public AjaxResult add(@RequestBody HeCategory heCategory) {
@@ -88,7 +88,7 @@
* 淇敼瀹f暀鍒嗙被
*/
@ApiOperation("淇敼瀹f暀鍒嗙被")
- @PreAuthorize("@ss.hasPermi('smartor:hecategory:edit')")
+ //@PreAuthorize("@ss.hasPermi('smartor:hecategory:edit')")
@Log(title = "瀹f暀鍒嗙被", businessType = BusinessType.UPDATE)
@PostMapping("/edit")
public AjaxResult edit(@RequestBody HeCategory heCategory) {
@@ -99,7 +99,7 @@
* 鍒犻櫎瀹f暀鍒嗙被
*/
@ApiOperation("鍒犻櫎瀹f暀鍒嗙被")
- @PreAuthorize("@ss.hasPermi('smartor:hecategory:remove')")
+ //@PreAuthorize("@ss.hasPermi('smartor:hecategory:remove')")
@Log(title = "瀹f暀鍒嗙被", businessType = BusinessType.DELETE)
@GetMapping("/remove/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
--
Gitblit v1.9.3