From 7a2e14a72aa75d3dbdbe0944be2a05b88866150f Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 22 八月 2024 17:47:19 +0800
Subject: [PATCH] 修复楼层运行状态的记录
---
routes/system.go | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/routes/system.go b/routes/system.go
index ba2611f..bd907fa 100644
--- a/routes/system.go
+++ b/routes/system.go
@@ -17,5 +17,10 @@
router.POST("/Keepalive", sysCtl.Keepalive)
router.GET("/Time", sysCtl.Time)
}
+
+ r.GET("/APEs", sysCtl.ApeList)
+ r.POST("/APEs", sysCtl.ApeUpdate)
+ r.POST("/APEs/:from_id", sysCtl.ApeUpdate)
+
return r
}
--
Gitblit v1.8.0