From b46b66471426cea1014ba5640538c7545f4c7981 Mon Sep 17 00:00:00 2001
From: fhx <308050795@qq.com>
Date: 星期一, 04 三月 2024 16:50:13 +0800
Subject: [PATCH] 1.修改

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java
index 02da85c..22a950b 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java
@@ -5,9 +5,8 @@
 import com.hz.his.dto.marketing.MarketActivityDto;
 import com.hz.his.dto.user.UserTreatRecordDto;
 import org.springframework.cloud.openfeign.FeignClient;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.http.MediaType;
+import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 
 /**
@@ -19,24 +18,26 @@
 public interface SPhipFddService {
 
     /** 娉曞ぇ澶х缃叉ā鏉垮垪琛� */
-    @PostMapping(value = "/signTemplateList")
+    @PostMapping(value = "/fdd/signTemplateList")
     Result signTemplateList(@RequestBody PageDto dto);
 
     /** 娉曞ぇ澶ф巿鏉冭璇侀摼鎺� */
-    @PostMapping(value = "/authUrl")
+    @PostMapping(value = "/fdd/authUrl")
     Result fddAuthUrl(@RequestBody UserTreatRecordDto dto);
 
     /** 鍙戣捣娌荤枟鍚屾剰涔︾缃蹭换鍔� */
-    @PostMapping(value = "/template/signTask")
+    @PostMapping(value = "/fdd/template/signTask")
     Result templateSignTask(@RequestBody UserTreatRecordDto dto);
 
     /** 鐢靛瓙鐥呭巻 - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */
-    @RequestMapping("/medicalRecords/signTask")
-    Result medicalRecordsSignTask(MultipartFile file, String id, String loginRoleId);
+    @RequestMapping(value="/fdd/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
+    Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id
+            , @RequestParam("loginRoleId") String loginRoleId);
 
     /** 澶勬柟鍗� - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */
-    @RequestMapping("/prescription/signTask")
-    Result prescriptionSignTask(MultipartFile file, String id, String loginRoleId);
+    @RequestMapping(value="/fdd/prescription/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
+    Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id
+            , @RequestParam("loginRoleId") String loginRoleId);
 
 
 }

--
Gitblit v1.8.0