chore: 并入 iotlcm-openapi 历史到 openapi/(原提交 3b05d5a)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:02 +08:00
484 changed files with 34732 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
package v1
import (
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model"
"github.com/gogf/gf/v2/frame/g"
)
// 获取Token
type TokenReq struct {
g.Meta `path:"/token" method:"POST" tags:"V3-Token获取" summary:"获取平台API Token"`
model.TokenInputApi
}
type TokenRes struct {
model.TokenOutputApi
}
// 共享运营商token
type OperatorTokenReq struct {
g.Meta `path:"/operator-token" method:"POST" tags:"共享Token" summary:"共享运营商Token(需传入appId+chanKey)"`
model.OperatorTokenInput
}
type OperatorTokenRes struct {
model.OperatorTokenOutput
}