修复滚仓

This commit is contained in:
dekun
2026-05-28 13:31:12 +08:00
parent a1b3b5d478
commit e8f77ebd57
+1
View File
@@ -102,6 +102,7 @@ def _count_active_trends(conn, cfg: dict) -> int:
def _roll_preview_response(cfg: dict, data: dict, json_mode: bool = False) -> dict: def _roll_preview_response(cfg: dict, data: dict, json_mode: bool = False) -> dict:
get_db = cfg["get_db"]
symbol = cfg["normalize_symbol_input"](data.get("symbol") or "") symbol = cfg["normalize_symbol_input"](data.get("symbol") or "")
if not symbol: if not symbol:
return {"ok": False, "msg": "请选择或填写币种"} return {"ok": False, "msg": "请选择或填写币种"}