修改分页返回数据结构体

This commit is contained in:
dushixiang
2021-03-21 16:44:33 +08:00
parent 060363f5fe
commit a4296e3b1c
15 changed files with 28 additions and 22 deletions

View File

@ -32,7 +32,7 @@ func (r *Session) TableName() string {
return "sessions"
}
type SessionVo struct {
type SessionForPage struct {
ID string `json:"id"`
Protocol string `json:"protocol"`
IP string `json:"ip"`