fix - starter same method name invoke error

This commit is contained in:
wangli 2025-03-05 15:55:27 +08:00
parent 512ecba4e0
commit fcd05038fe

View File

@ -150,7 +150,11 @@ public class WorkflowEngineStarterMQMonitorController {
}
@GetMapping("/v")
public CommonResponse<String> consoleVersion() {
return CommonResponse.success("当前 workflow-engine version: " + serviceVersion + ",\r\nfix: cn.axzo.workflow.starter.mq.retry.consumer.WorkflowEngineStarterRetryEventListener.multiMethodCache");
public CommonResponse<String> consoleVersion(@RequestParam("fix") Boolean showLastFix) {
String str = "当前 workflow-engine version: " + serviceVersion;
if (showLastFix) {
str += "fix: cn.axzo.workflow.starter.mq.retry.consumer.WorkflowEngineStarterRetryEventListener.multiMethodCache";
}
return CommonResponse.success(str);
}
}