fix - starter same method name invoke error

This commit is contained in:
wangli 2025-03-05 16:05:50 +08:00
parent 120d84819a
commit 6d2c895e85

View File

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