1Panel/backend/app/dto/common_res.go

17 lines
298 B
Go
Raw Normal View History

2022-08-16 15:30:23 +00:00
package dto
type PageResult struct {
Total int64 `json:"total"`
Items interface{} `json:"items"`
}
type Response struct {
Code int `json:"code"`
Message string `json:"message"`
Data interface{} `json:"data"`
2022-08-16 15:30:23 +00:00
}
2022-10-12 10:55:47 +00:00
type Options struct {
Option string `json:"option"`
}