From 34a716e48e49743083953113bfc2e8011d52444f Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 15 九月 2025 19:08:05 +0800
Subject: [PATCH] 日志修改
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java
index 5f2e1b8..85c8792 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFunddetailSharedController.java
@@ -1,4 +1,4 @@
-package com.ruoyi.project.controller;
+package com.ruoyi.web.controller.project;
import java.util.Arrays;
import java.util.List;
@@ -42,7 +42,7 @@
* 鏌ヨ璐圭敤鐢宠鏄庣粏鍒楄〃
*/
@ApiOperation("鏌ヨ璐圭敤鐢宠鏄庣粏鍒楄〃")
- @PreAuthorize("@ss.hasPermi('project:funddetailshared:list')")
+ // @PreAuthorize("@ss.hasPermi('project:funddetailshared:list')")
@GetMapping("/list")
public TableDataInfo list(ServiceFunddetailShared serviceFunddetailShared)
{
@@ -55,7 +55,7 @@
* 瀵煎嚭璐圭敤鐢宠鏄庣粏鍒楄〃
*/
@ApiOperation("瀵煎嚭璐圭敤鐢宠鏄庣粏鍒楄〃")
- @PreAuthorize("@ss.hasPermi('project:funddetailshared:export')")
+ // @PreAuthorize("@ss.hasPermi('project:funddetailshared:export')")
@Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(ServiceFunddetailShared serviceFunddetailShared)
@@ -69,7 +69,7 @@
* 鑾峰彇璐圭敤鐢宠鏄庣粏璇︾粏淇℃伅
*/
@ApiOperation("鑾峰彇璐圭敤鐢宠鏄庣粏璇︾粏淇℃伅")
- @PreAuthorize("@ss.hasPermi('project:funddetailshared:query')")
+ // @PreAuthorize("@ss.hasPermi('project:funddetailshared:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@@ -80,20 +80,21 @@
* 鏂板璐圭敤鐢宠鏄庣粏
*/
@ApiOperation("鏂板璐圭敤鐢宠鏄庣粏")
- @PreAuthorize("@ss.hasPermi('project:funddetailshared:add')")
+ // @PreAuthorize("@ss.hasPermi('project:funddetailshared:add')")
@Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.INSERT)
- @PostMapping
+ @PostMapping("/add")
@RepeatSubmit
public AjaxResult add(@RequestBody ServiceFunddetailShared serviceFunddetailShared)
{
- return toAjax(serviceFunddetailSharedService.save(serviceFunddetailShared));
+ boolean save = serviceFunddetailSharedService.save(serviceFunddetailShared);
+ return AjaxResult.success(serviceFunddetailShared);
}
/**
* 淇敼璐圭敤鐢宠鏄庣粏
*/
@ApiOperation("淇敼璐圭敤鐢宠鏄庣粏")
- @PreAuthorize("@ss.hasPermi('project:funddetailshared:edit')")
+ // @PreAuthorize("@ss.hasPermi('project:funddetailshared:edit')")
@Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.UPDATE)
@PostMapping("/edit")
@RepeatSubmit
@@ -106,7 +107,7 @@
* 鍒犻櫎璐圭敤鐢宠鏄庣粏
*/
@ApiOperation("鍒犻櫎璐圭敤鐢宠鏄庣粏")
- @PreAuthorize("@ss.hasPermi('project:funddetailshared:remove')")
+ // @PreAuthorize("@ss.hasPermi('project:funddetailshared:remove')")
@Log(title = "璐圭敤鐢宠鏄庣粏", businessType = BusinessType.DELETE)
@GetMapping("/remove/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
--
Gitblit v1.9.3