修改分页返回数据结构体

This commit is contained in:
dushixiang
2021-03-21 16:44:33 +08:00
parent 999cf52e0c
commit 1e7b3d3c0e
15 changed files with 28 additions and 22 deletions

View File

@ -23,7 +23,7 @@ type Asset struct {
Owner string `gorm:"index" json:"owner"`
}
type AssetVo struct {
type AssetForPage struct {
ID string `json:"id"`
Name string `json:"name"`
IP string `json:"ip"`