53 lines
886 B
Go
Raw Normal View History

2025-04-22 15:46:48 +08:00
package dto
type NilReq struct {
}
type NilRsp = NilReq
type CommonListReq struct {
2025-04-24 20:39:31 +08:00
PageNo int `json:"page_no"`
PageLen int `json:"page_len"`
WhereValue1 string `json:"where_value1"`
WhereValue2 string `json:"where_value2"`
WhereValue3 string `json:"where_value3"`
2025-04-22 15:46:48 +08:00
}
type CommonPostReq struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonPutReq struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonDeleteReq struct {
Id int `json:"id"`
}
type CommonListRsp = CommonDtoList
type CommonPostRsp struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonPutRsp struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonDeleteRsp struct {
Id int `json:"id"`
}
type CommandListReq struct {
Addr string `json:"addr"`
}
type CommandListRsp struct {
List []*PathInfo `json:"list"`
}
2025-04-24 20:39:31 +08:00
type ResourceListRsp struct {
List []*ResourceInfo `json:"list"`
}