Files
slogan/server/styleagent/model/dto/avatar_model_dto.go
T
2026-08-17 13:46:35 +08:00

25 lines
511 B
Go

package dto
import (
"github.com/gogf/gf/v2/frame/g"
)
type AvatarBuildReq struct {
g.Meta `path:"/build" method:"post" tags:"化身" summary:"构建化身"`
}
type AvatarBuildRes struct {
AvatarId int64 `json:"avatar_id"`
Status string `json:"status"`
}
type AvatarGetReq struct {
g.Meta `path:"/get" method:"get" tags:"化身" summary:"我的化身"`
}
type AvatarGetRes struct {
GlbUrl string `json:"glb_url"`
BuildStatus string `json:"build_status"`
Error string `json:"error"`
}