2025-04-18 17:17:23 +08:00
|
|
|
package dto
|
|
|
|
|
2025-04-22 15:46:48 +08:00
|
|
|
type NilReq struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
type NilRsp struct {
|
|
|
|
}
|
|
|
|
|
2025-04-18 17:17:23 +08:00
|
|
|
type CommonListReq struct {
|
|
|
|
PageNo int `json:"page_no"`
|
|
|
|
PageLen int `json:"page_len"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CommonPostReq struct {
|
|
|
|
Dto *CommonDtoValues `json:"dto"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CommonPutReq struct {
|
|
|
|
Dto *CommonDtoValues `json:"dto"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CommonDeleteReq struct {
|
|
|
|
Id int `json:"id"`
|
|
|
|
}
|
2025-04-22 15:46:48 +08:00
|
|
|
|
|
|
|
type CommonListRsp = CommonDtoList
|
|
|
|
|
|
|
|
type CommonPostRsp struct {
|
|
|
|
Dto *CommonDtoValues `json:"dto"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CommonPutRsp struct {
|
|
|
|
Dto *CommonDtoValues `json:"dto"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type CommonDeleteRsp struct {
|
|
|
|
Id int `json:"id"`
|
|
|
|
}
|