重新整理物联网服务,分离业务逻辑。

This commit is contained in:
BBIT-Kai
2026-01-05 11:54:33 +08:00
parent e2982b141d
commit 892cb2494e
53 changed files with 558 additions and 26 deletions
+13
View File
@@ -0,0 +1,13 @@
package api
import (
"sentinel/app/model"
)
const (
analyticsURL = "/api/public/sentinel-record-analytics"
)
func Analytics(req model.Record) error {
return Post(analyticsURL, req, nil)
}