From a1fc7e3e337393954a95b5f85c1a3f59d61208c4 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 28 十一月 2024 01:31:02 +0800
Subject: [PATCH] 投资基本信息

---
 business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java b/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java
index c809bd6..7a6d79b 100644
--- a/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java
+++ b/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java
@@ -27,55 +27,55 @@
 @RequiredArgsConstructor
 @Api(value = "鎶曡祫椤圭洰鍩虹淇℃伅琛�", tags = "鎶曡祫椤圭洰鍩虹淇℃伅琛ㄧ鐞�")
 @RestController
-@RequestMapping("/project-investment-info")
+@RequestMapping("/project/investmentInfo")
 public class ProjectInvestmentInfoController {
 
     private final ProjectInvestmentInfoService projectInvestmentInfoService;
 
     @PostMapping
     @ApiOperation(value = "娣诲姞", notes = "娣诲姞")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:add')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:add')")
     public Result add(@RequestBody @Validated(Add.class) ProjectInvestmentInfoForm form) {
         return projectInvestmentInfoService.add(form);
     }
 
     @PutMapping
     @ApiOperation(value = "淇敼", notes = "淇敼")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:edit')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:edit')")
     public Result update(@RequestBody @Validated(Update.class) ProjectInvestmentInfoForm form) {
         return projectInvestmentInfoService.update(form);
     }
 
     @DeleteMapping("/{id}")
     @ApiOperation(value = "ID鍒犻櫎", notes = "ID鍒犻櫎")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:del')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:del')")
     public Result removeById(@PathVariable("id") String id) {
         return projectInvestmentInfoService.removeById(id);
     }
 
     @DeleteMapping("/batch")
     @ApiOperation(value = "鎵归噺鍒犻櫎", notes = "鎵归噺鍒犻櫎")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:del:batch')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:del:batch')")
     public Result remove(@RequestBody @NotEmpty(message = "璇烽�夋嫨鏁版嵁") List<String> ids) {
         return projectInvestmentInfoService.remove(ids);
     }
 
     @GetMapping("/page")
     @ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:page')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:page')")
     public Result page(ProjectInvestmentInfoQuery query) {
         return projectInvestmentInfoService.page(query);
     }
 
     @GetMapping("/{id}")
     @ApiOperation(value = "璇︽儏", notes = "璇︽儏")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:detail')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:detail')")
     public Result detail(@PathVariable("id") Integer id) {
         return projectInvestmentInfoService.detail(id);
     }
 
     @GetMapping("/list")
-    @PreAuthorize("hasAuthority('projectInvestmentInfo:list')")
+//    @PreAuthorize("hasAuthority('projectInvestmentInfo:list')")
     @ApiOperation(value = "鍒楄〃", notes = "鍒楄〃")
     public Result list() {
         return projectInvestmentInfoService.all();

--
Gitblit v1.8.0