修改分页返回数据结构体

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

@ -20,7 +20,7 @@ func (r *Credential) TableName() string {
return "credentials"
}
type CredentialVo struct {
type CredentialForPage struct {
ID string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`