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

28 lines
666 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 {
FaceTemplateId int `json:"face_template_id"`
BodyTemplateId int `json:"body_template_id"`
SkinToneIndex int `json:"skin_tone_index"`
GlbUrl string `json:"glb_url"`
BuildStatus string `json:"build_status"`
Error string `json:"error"`
}