feat: 增加机器位置手动编辑功能及公开查看界面

This commit is contained in:
2026-07-11 15:43:17 +08:00
parent becd8f0e20
commit 84dbdf58c4
13 changed files with 316 additions and 51 deletions
+5
View File
@@ -224,6 +224,11 @@ router.get('/fares/query', (req, res) => {
}
});
router.get('/machine-locations', (req, res) => {
const locs = DataService.getMachineLocations() || {};
res.json({ ok: true, data: locs });
});
router.get('/config', (req, res) => {
const cfg = DataService.getConfig();
res.json({