From 0f17a6f2f4fb9ce05c55e58440d8e969a56e8a13 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 21 Sep 2026 09:58:32 +0800
Subject: [PATCH] refactor(gate): 重命名自定义止损相关字段以提高语义清晰度
---
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