package com.hz.his.feign.service.platform;
|
|
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.http.MediaType;
|
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.multipart.MultipartFile;
|
|
/**
|
* 法大大service
|
* @USER: fhx
|
* @DATE: 2023/8/2
|
**/
|
@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/getTemplatePreviewUrl")
|
Result getTemplatePreviewUrl(@RequestBody FddDto dto);
|
|
/** 发起治疗同意书签署任务 */
|
@PostMapping(value = "/fdd/template/signTask")
|
Result templateSignTask(@RequestBody FddDto dto);
|
|
/** 获取签署任务参与人链接 to codeNo */
|
@PostMapping(value = "/fdd/getSignTaskActorUrlToCodeNo")
|
Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto);
|
|
/** 电子病历 - 发起法大大签署任务 */
|
@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(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);
|
}
|