From ed33e59479e848573764b2e74f82fbb4eb5ab2a8 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期四, 07 三月 2024 17:00:33 +0800 Subject: [PATCH] 1.修改 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipFddService.java | 54 +++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 43 insertions(+), 11 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..01bc49b 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 @@ -2,12 +2,12 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; +import com.hz.his.dto.fdd.FddDto; 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; /** @@ -18,25 +18,57 @@ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd") public interface SPhipFddService { + /** 鏌ヨ鐢ㄦ埛娉曞ぇ澶у姛鑳芥巿鏉冩暟鎹� */ + @PostMapping(value = "/fdd/userFddAuthData") + Result userFddAuthData(@RequestBody FddDto dto); + + /** 娉曞ぇ澶ф巿鏉冭璇侀摼鎺� */ + @PostMapping(value = "/fdd/authUrl") + Result fddAuthUrl(@RequestBody FddDto dto); + + /** 鎺堟潈鍚屾剰鍏嶉獙璇佺缃� */ + @PostMapping(value = "/fdd/authFreeVisa") + Result authFreeVisa(@RequestBody FddDto dto); + /** 娉曞ぇ澶х缃叉ā鏉垮垪琛� */ @PostMapping(value = "/fdd/signTemplateList") Result signTemplateList(@RequestBody PageDto dto); - /** 娉曞ぇ澶ф巿鏉冭璇侀摼鎺� */ - @PostMapping(value = "/fdd/authUrl") - Result fddAuthUrl(@RequestBody UserTreatRecordDto dto); + /** 鑾峰彇妯℃澘棰勮閾炬帴 */ + @PostMapping(value = "/fdd/getTemplatePreviewUrl") + Result getTemplatePreviewUrl(@RequestBody FddDto dto); /** 鍙戣捣娌荤枟鍚屾剰涔︾缃蹭换鍔� */ @PostMapping(value = "/fdd/template/signTask") - Result templateSignTask(@RequestBody UserTreatRecordDto dto); + Result templateSignTask(@RequestBody FddDto dto); + + /** 鑾峰彇绛剧讲浠诲姟鍙備笌浜洪摼鎺� to codeNo */ + @PostMapping(value = "/fdd/getSignTaskActorUrlToCodeNo") + Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto 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, @RequestParam("redirectUrl")String redirectUrl); /** 澶勬柟鍗� - 鍙戣捣娉曞ぇ澶х缃蹭换鍔� */ - @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, @RequestParam("redirectUrl")String redirectUrl); + /** 浣滃簾(鎾ら攢绛剧讲浠诲姟) */ + @RequestMapping("/cancelSignTask") + Result cancelSignTask(@RequestBody FddDto dto); + /** 鑾峰彇绛剧讲浠诲姟鏂囦欢涓嬭浇鍦板潃 */ + @PostMapping(value = "/fdd/getSignTaskFileUrl") + Result getSignTaskFileUrl(@RequestBody FddDto dto); + + /** 鏌ヨ涓汉绛惧悕鍒楄〃 */ + @RequestMapping("/fdd/getPersonalSealList") + Result getPersonalSealList(@RequestBody FddDto dto); + + /** 鑾峰彇绛惧悕璁剧疆鍏嶉獙璇佺閾炬帴 */ + @RequestMapping("/fdd/getPersonalSealFreeSignUrl") + Result getPersonalSealFreeSignUrl(@RequestBody FddDto dto); } -- Gitblit v1.8.0