提交 1addd4b9 编写于 作者: zhouweidong's avatar zhouweidong

1.修复getAppSwitcher接口与uaa接口参数不一致问题。

上级 4968039a
......@@ -483,7 +483,7 @@ public class WFCoreService
public String getTaskUrl(String type,String processDefinitionKey,String processInstanceId,String businessKey,String taskDefinitionKey)
{
JSONObject app = ibzuaaFeignClient.getAppSwitcher("default",AuthenticationUser.getAuthenticationUser().getUserid());
JSONObject app = ibzuaaFeignClient.getAppSwitcher("default");
String[] arr = processDefinitionKey.split("-");
String systemId = arr[0];
......
......@@ -30,7 +30,7 @@ public class IBZUAAFallback implements IBZUAAFeignClient {
}
@Override
public JSONObject getAppSwitcher(String id, String userId) {
public JSONObject getAppSwitcher(String id) {
return null;
}
}
......@@ -37,8 +37,8 @@ public interface IBZUAAFeignClient
String getPublicKey();
@Cacheable( value="ibzuaa_switcher",key = "'id:'+#p0+'||'+#p1")
@Cacheable( value="ibzuaa_switcher",key = "'id:'+#p0")
@GetMapping(value = "/uaa/access-center/app-switcher/{id}")
JSONObject getAppSwitcher(@PathVariable("id") String id, String userId);
JSONObject getAppSwitcher(@PathVariable("id") String id);
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册