package cn.huge.module.client.api;
|
|
import cn.huge.base.common.bo.ReturnBO;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
/**
|
* @title: 公共工具微服务调用接口
|
* @description: 公共工具微服务调用接口
|
* @company: hugeinfo
|
* @author: liyj
|
* @time: 2021-11-05 16:51:48
|
* @version: 1.0.0
|
*/
|
@FeignClient(name = "dyh-utils")
|
public interface UtilsClient {
|
|
/**
|
* 公共工具-id工具-获取时间Id,后四位常量
|
* @url {ctx}/api/client/mediateUtils/getNewTimeId
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/mediateUtils/getNewTimeId")
|
ReturnBO getNewTimeId();
|
|
/**
|
* 案件id-获取时间Id,后四位常量
|
* @url {ctx}/api/client/mediateUtils/getNewTimeCaseId
|
* @return Object
|
*/
|
@GetMapping("/api/client/mediateUtils/getNewTimeCaseId")
|
ReturnBO getNewTimeCaseId();
|
|
/**
|
* 生成新的调解案号
|
* @url {ctx}/api/client/mediateUtils/createCaseNo
|
* @param area 区
|
* @return Object
|
*/
|
@GetMapping("/api/client/mediateUtils/createCaseNo")
|
ReturnBO createCaseNo(@RequestParam(value = "area") String area);
|
|
/**
|
* 生成新的事项编号
|
* @url {ctx}/common/api/caseNoUtils/createCaseRef
|
* @return Object
|
*/
|
@GetMapping("/api/client/mediateUtils/createCaseRef")
|
ReturnBO createCaseRef(@RequestParam(value = "area") String area);
|
|
/**
|
* 公共工具-sys服务id工具-获取时间Id,后四位常量
|
* @url {ctx}/api/client/sysUtils/getNewTimeId
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/sysUtils/getNewTimeId")
|
ReturnBO getNewTimeSysId();
|
|
/**
|
* 公共工具-司法确认id工具-获取时间Id,后四位常量
|
* @url {ctx}/api/client/mediateUtils/getNewTimeJudicId
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/mediateUtils/getNewTimeJudicId")
|
ReturnBO getNewTimeJudicId();
|
|
/**
|
* 公共工具-司法确认案号工具
|
* @url {ctx}/api/client/mediateUtils/createJudicNo
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/mediateUtils/createJudicNo")
|
ReturnBO createJudicNo(@RequestParam(value = "custId")String custId);
|
}
|