Files
36Wisdom/biz/model/dto/badge.go
T
2026-08-14 12:13:02 +08:00

25 lines
457 B
Go

package dto
type BadgeItem struct {
Id int64 `json:"id"`
Name string `json:"name"`
Icon string `json:"icon"`
CondType int `json:"cond_type"`
CondValue int `json:"cond_value"`
Status int `json:"status"`
}
type BadgeGetReq struct {
Id int64 `v:"required" json:"id"`
}
type BadgeGetRes struct {
Badge BadgeItem `json:"badge"`
}
type BadgeListReq struct{}
type BadgeListRes struct {
List []BadgeItem `json:"list"`
}