修改政府端前端,银行端小程序和后端接口

This commit is contained in:
2025-09-26 17:52:50 +08:00
parent 852adbcfff
commit 00dfa83fd1
237 changed files with 9172 additions and 33500 deletions

View File

@@ -0,0 +1,18 @@
const express = require('express');
const router = express.Router();
const smartHostController = require('../controllers/smartHostController');
const auth = require('../middleware/auth');
// 获取智能主机列表
router.get('/', auth, smartHostController.getSmartHosts);
// 新增智能主机
router.post('/', auth, smartHostController.createSmartHost);
// 编辑智能主机
router.put('/:id', auth, smartHostController.updateSmartHost);
// 删除智能主机
router.delete('/:id', auth, smartHostController.deleteSmartHost);
module.exports = router;