fhx
2024-03-06 b8bf7a04a5f8a6756222d90a70ffbbcf3f047f82
提交 | 用户 | age
eb18b5 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.PageDto;
773ebf 5 import com.hz.his.dto.fdd.FddDto;
eb18b5 6 import com.hz.his.dto.marketing.MarketActivityDto;
F 7 import com.hz.his.dto.user.UserTreatRecordDto;
8 import org.springframework.cloud.openfeign.FeignClient;
b46b66 9 import org.springframework.http.MediaType;
0b6b74 10 import org.springframework.web.bind.annotation.*;
eb18b5 11 import org.springframework.web.multipart.MultipartFile;
F 12
13 /**
14  * 法大大service
15  * @USER: fhx
16  * @DATE: 2023/8/2
17  **/
18 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd")
19 public interface SPhipFddService {
20
b8bf7a 21     /** 查询用户法大大功能授权数据 */
F 22     @PostMapping(value = "/fdd/userFddAuthData")
23     Result userFddAuthData(@RequestBody FddDto dto);
24
25     /** 法大大授权认证链接 */
26     @PostMapping(value = "/fdd/authUrl")
27     Result fddAuthUrl(@RequestBody FddDto dto);
28
9a9ccf 29     /** 授权免验证签署 */
F 30     @PostMapping(value = "/fdd/authFreeVisa")
773ebf 31     Result authFreeVisa(@RequestBody FddDto dto);
9a9ccf 32
eb18b5 33     /** 法大大签署模板列表 */
2aa9f9 34     @PostMapping(value = "/fdd/signTemplateList")
eb18b5 35     Result signTemplateList(@RequestBody PageDto dto);
F 36
37     /** 发起治疗同意书签署任务 */
2aa9f9 38     @PostMapping(value = "/fdd/template/signTask")
773ebf 39     Result templateSignTask(@RequestBody FddDto dto);
F 40
41     /** 获取签署任务参与人链接 to codeNo */
42     @PostMapping(value = "/fdd/getSignTaskActorUrlToCodeNo")
43     Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto);
eb18b5 44
F 45     /** 电子病历 - 发起法大大签署任务 */
b46b66 46     @RequestMapping(value="/fdd/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
0b6b74 47     Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id
b8bf7a 48             , @RequestParam("loginRoleId") String loginRoleId, @RequestParam("redirectUrl")String redirectUrl);
eb18b5 49
F 50     /** 处方单 - 发起法大大签署任务 */
b46b66 51     @RequestMapping(value="/fdd/prescription/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
0b6b74 52     Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("id") String id
b8bf7a 53             , @RequestParam("loginRoleId") String loginRoleId, @RequestParam("redirectUrl")String redirectUrl);
eb18b5 54
F 55
56 }