feat: 增加机器位置手动编辑功能及公开查看界面
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user