设备管理优化

This commit is contained in:
2026-06-16 00:39:20 +08:00
parent 6788d49f47
commit 3a57f1cf14
3 changed files with 489 additions and 18 deletions
+3
View File
@@ -14,6 +14,9 @@ func Register() {
// 登录器上报 Cursor 设备信息(无需登录)
beego.Router("/api/cursor/equipment/report", &controllers.ApiCursorEquipmentController{}, "post:Report")
// 登录器使用激活码激活/续期 Cursor 设备(无需登录)
beego.Router("/api/cursor/equipment/activateByCode", &controllers.ApiCursorEquipmentController{}, "post:ActivateByCode")
// 对外提卡接口(无需登录)
// GET /api/getcard?type=xianyu&module=cursor&data_type=tk
beego.Router("/api/getcard", &controllers.ApiGetCardController{}, "get:GetCard")