mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 19:12:40 +00:00
27 lines
668 B
Go
27 lines
668 B
Go
/*
|
|
SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
package v1
|
|
|
|
import "github.com/gogf/gf/v2/frame/g"
|
|
|
|
type GetXiaoZhiTokenReq struct {
|
|
g.Meta `path:"/xiaozhi/token" method:"get" tags:"XiaoZhi" summary:"XiaoZhi token"`
|
|
}
|
|
|
|
type GetXiaoZhiTokenRes string
|
|
|
|
type RefreshTokenReq struct {
|
|
g.Meta `path:"/xiaozhi/token/refresh" method:"get" tags:"XiaoZhi" summary:"XiaoZhi token refresh"`
|
|
}
|
|
|
|
type RefreshTokenRes string
|
|
|
|
type GetXiaoZhiGenerateLicenseTokenReq struct {
|
|
g.Meta `path:"/xiaozhi/generateLicenseToken" method:"get" tags:"XiaoZhi" summary:"XiaoZhi generateLicenseToken"`
|
|
}
|
|
|
|
type GetXiaoZhiGenerateLicenseTokenRes string
|