alist/server/common/resp.go
2022-06-26 19:10:14 +08:00

13 lines
245 B
Go

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"`
}