获取清台配置信息

This commit is contained in:
张松
2025-11-11 10:33:09 +08:00
parent fd306f34dc
commit 623acaba82

View File

@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
import java.io.IOException;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
@@ -125,10 +126,11 @@ public class ShopTableController {
one.setAutoClear(0);
one.setAutoClearTime(0);
}
return CzgResult.success(Map.of(
"autoClear", one.getAutoClear(),
"autoClearTime", one.getAutoClearTime()
));
ShopTable finalOne = one;
return CzgResult.success(new HashMap<>(){{
put("autoClear", finalOne.getAutoClear());
put("autoClearTime", finalOne.getAutoClearTime());
}});
}
/**