This commit is contained in:
aozhiwei 2024-11-22 10:50:51 +08:00
parent d0b839bb0e
commit c9cda18e3e

View File

@ -26,7 +26,9 @@ func (this *BuffApi) List(c *gin.Context) {
rspObj := struct {
vo.BaseVo
Data []*vo.Buff `json:"data"`
}{}
}{
Data : []*vo.Buff{},
}
for _, m := range buffs {
v := new(vo.Buff)
v.FromModel(m)