alist/server/common/resp.go

13 lines
245 B
Go
Raw Normal View History

2022-06-26 11:09:28 +00:00
package common
type Resp struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
}
type PageResp struct {
Content interface{} `json:"content"`
Total int64 `json:"total"`
}