From e49091393b7a216da12e5cf3dc9eb9b4f36f0325 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 22 六月 2024 23:10:31 +0800
Subject: [PATCH] 修改了权限的代码

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfDoctorShareController.java |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfDoctorShareController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfDoctorShareController.java
index a320d6a..1cb8036 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfDoctorShareController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfDoctorShareController.java
@@ -4,10 +4,7 @@
 import com.ruoyi.common.core.domain.AjaxResult;
 import com.ruoyi.domain.ShareMore;
 import com.ruoyi.service.ZfDoctorShareService;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
 
@@ -37,9 +34,9 @@
     /**
      * 鐢ㄦ埛鑷繁鏌ョ湅鍒汉鍒嗕韩鐨勬暟鎹拰鍒嗕韩浜�
      */
-    @PostMapping("/getInfoByShareId")
-    public AjaxResult empowerGetInfo2(@RequestBody Long shareId){
-        return zfDoctorShareService.listByUserId(shareId);
+    @GetMapping("/getInfoByShareId")
+    public AjaxResult empowerGetInfo2(){
+        return zfDoctorShareService.listByUserId();
     }
     /**
      * 鏍规嵁userId鍜宻hareId鏀跺洖宸茬粡鎺堟潈缁欓偅浜涗汉

--
Gitblit v1.9.1