From 64ffcd8f2a5835c7e8f06b0af320f12d2d9d6b2e Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 23 Sep 2026 17:57:43 +0800
Subject: [PATCH] fix(gateApi): 解决枚举定义不完整导致的反序列化异常
---
src/main/java/com/xcong/excoin/modules/gateApi/GateConfigController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigController.java b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigController.java
index 40ab8e0..db21b56 100644
--- a/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigController.java
+++ b/src/main/java/com/xcong/excoin/modules/gateApi/GateConfigController.java
@@ -102,9 +102,9 @@
public Result getStatus() {
GateGridTradeService service = clientManager.getGridTradeService();
if (service == null) {
- return Result.ok("STOPPED");
+ return Result.ok("success", "STOPPED");
}
- return Result.ok(service.isStrategyActive() ? "ACTIVE" : "STOPPED");
+ return Result.ok("success", service.isStrategyActive() ? "ACTIVE" : "STOPPED");
}
/**
--
Gitblit v1.9.1