28 lines
666 B
Go
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"`
|
|
}
|