opt:1.更新后台管理首页看板功能

This commit is contained in:
2026-03-20 15:31:04 +08:00
parent bbd09035a8
commit 9498380c6f
12 changed files with 257 additions and 1 deletions

View File

@@ -27,6 +27,6 @@ public class MapInfoController {
@PostMapping("/syncCurrentMapData")
@Log("同步当前地图最新数据")
public ResponseEntity<Object> syncCurrentMapData() {
return new ResponseEntity<>(null,HttpStatus.OK);
return new ResponseEntity<>(mapService.syncCurrentMapData(),HttpStatus.OK);
}
}

View File

@@ -7,5 +7,16 @@ import org.nl.response.WebResponse;
* 2025/12/18
*/
public interface MapService {
/**
* 获取当前地图信息
* @return
*/
WebResponse queryCurrentMapInfo();
/**
* 同步当前地图数据
* @return
*/
WebResponse syncCurrentMapData();
}

View File

@@ -149,4 +149,10 @@ public class MapServiceImpl implements MapService {
);
return WebResponse.requestParamOk(mapInfo);
}
@Override
public WebResponse syncCurrentMapData() {
init();
return WebResponse.requestOk();
}
}