From 9a9ccfd702bf4f085a785df08a4842d112c0fe5d Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期二, 05 三月 2024 15:02:26 +0800 Subject: [PATCH] 1.完善法大大对接逻辑 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 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..60074a7 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; /** @@ -17,6 +16,10 @@ **/ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd") public interface SPhipFddService { + + /** 鎺堟潈鍏嶉獙璇佺缃� */ + @PostMapping(value = "/fdd/authFreeVisa") + Result authFreeVisa(@RequestBody UserTreatRecordDto dto); /** 娉曞ぇ澶х缃叉ā鏉垮垪琛� */ @PostMapping(value = "/fdd/signTemplateList") @@ -31,12 +34,14 @@ Result templateSignTask(@RequestBody UserTreatRecordDto dto); /** 鐢靛瓙鐥呭巻 - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */ - @RequestMapping("/fdd/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("/fdd/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