提交 3db5640e 编写于 作者: zhouweidong's avatar zhouweidong

工作流启动

上级 7db376d8
package cn.ibizlab.util.client;
import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Component;
@Component
public class IBZRTProxyFallback implements IBZRTProxyFeignClient {
@Override
public String getDynaModelId(String orgId, String systemId) {
return null;
}
@Override
public String getDynaModelId(String module, String moduleTag, String orgId, String systemId) {
return null;
}
}
package cn.ibizlab.util.client;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;
@FeignClient(value = "${ibiz.ref.service.rt:ibizrt4ebsx}" ,contextId = "rt" , fallback = IBZRTProxyFallback.class)
public interface IBZRTProxyFeignClient
{
@GetMapping("/uaa/dynamodel")
String getDynaModelId(@RequestHeader("srforgid") String orgId , @RequestHeader("srfsystemid") String systemId);
@GetMapping("/uaa/{module}/{moduletag}/dynamodel")
String getDynaModelId(@PathVariable("module") String module , @PathVariable("moduletag") String moduleTag , @RequestHeader("srforgid") String orgId , @RequestHeader("srfsystemid") String systemId);
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册