123456789101112131415161718192021222324252627282930313233343536373839 |
- package com.fjhx.feign;
- import com.fjhx.constants.ClientConstant;
- import com.fjhx.entity.example.ExampleInfo;
- import com.fjhx.entity.process.ProcessNodeButton;
- import com.fjhx.entity.process.ProcessTenant;
- import org.springblade.core.tool.api.R;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.PostMapping;
- @FeignClient(value = "service-flow")
- public interface IFlowClient {
- String GET_PROCESS_TENANT = ClientConstant.API_PREFIX + "/getProcessTenantByCode";
- String EXAMPLE_INFO_SAVE = ClientConstant.API_PREFIX + "/exampleInfoSave";
- String GET_PROCESS_NODE_BUTTON_BY_PROCESS_TENANT_ID = ClientConstant.API_PREFIX + "/getProcessNodeButtonByProcessTenantId";
-
- @PostMapping(GET_PROCESS_TENANT)
- R<ProcessTenant> getProcessTenant(Long businessId, String code);
-
- @PostMapping(GET_PROCESS_NODE_BUTTON_BY_PROCESS_TENANT_ID)
- R<ProcessNodeButton> getProcessNodeButtonByProcessTenantId(Long processTenantId, String processNodeCode);
-
- @PostMapping(EXAMPLE_INFO_SAVE)
- R<ExampleInfo> exampleInfoSave(ExampleInfo exampleInfo);
- }
|