修改管理后台

This commit is contained in:
shenquanyi
2025-09-12 20:08:42 +08:00
parent 39d61c6f9b
commit 80a24c2d60
286 changed files with 75316 additions and 9452 deletions

View File

@@ -65,6 +65,9 @@ publicRoutes.put('/:id/status', alertController.updateAlert);
* 500:
* description: 服务器错误
*/
// 根据养殖场名称搜索预警
router.get('/search', verifyToken, alertController.searchAlertsByFarmName);
router.get('/', (req, res) => {
// 从请求头获取token
const authHeader = req.headers['authorization'];