修改设备设置及登录判断

This commit is contained in:
zyj
2025-09-17 18:29:30 +08:00
parent 25e0620a3f
commit c2f5721ddd
5 changed files with 43 additions and 2 deletions

View File

@@ -14,4 +14,5 @@ var DeviceApi api.DeviceApi
func (*Device) Init(app *gin.Engine) {
group := app.Group("/device", middleware.TokenAuth())
group.POST("/seva", DeviceApi.SevaDeviceInfo)
group.POST("/all", DeviceApi.GetAll)
}