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

17 lines
298 B
Go
Raw Normal View History

2022-08-16 23:30:23 +08: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 23:30:23 +08:00
}
2022-10-12 18:55:47 +08:00
type Options struct {
Option string `json:"option"`
}