From 0b6b7432e27b251798183c4f87235de6989fb210 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期一, 04 三月 2024 10:46:56 +0800 Subject: [PATCH] 1.修改 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 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 bad067a..6c137e5 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,7 @@ 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.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; /** @@ -32,11 +30,13 @@ /** 鐢靛瓙鐥呭巻 - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */ @RequestMapping("/fdd/medicalRecords/signTask") - Result medicalRecordsSignTask(MultipartFile file, String id, String loginRoleId); + Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id + , @RequestParam("loginRoleId") String loginRoleId); /** 澶勬柟鍗� - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */ @RequestMapping("/fdd/prescription/signTask") - Result prescriptionSignTask(MultipartFile file, String id, String loginRoleId); + Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id + , @RequestParam("loginRoleId") String loginRoleId); } -- Gitblit v1.8.0