buider
This commit is contained in:
@@ -22,6 +22,12 @@ publicRoutes.get('/monitoring', statsController.getMonitorData);
|
||||
// 公开获取月度数据趋势
|
||||
publicRoutes.get('/monthly-trends', statsController.getMonthlyTrends);
|
||||
|
||||
// 公开获取农场总数统计(实时数据库查询)
|
||||
publicRoutes.get('/farm-count', statsController.getFarmCount);
|
||||
|
||||
// 公开获取动物总数统计(实时数据库查询)
|
||||
publicRoutes.get('/animal-count', statsController.getAnimalCount);
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* tags:
|
||||
|
||||
Reference in New Issue
Block a user