service/api/proto/userwxaddcheck/proto/userwxaddcheck_api.go

67 lines
1.0 KiB
Go

package proto
import (
"service/api/base"
"service/dbstruct"
)
// api 创建
type ApiCreateReq struct {
base.BaseRequest
*dbstruct.UserWxAddCheck
}
type ApiCreateData struct {
}
type ApiCreateResp struct {
base.BaseResponse
Data *ApiCreateData `json:"data"`
}
// api 删除
type ApiDeleteReq struct {
base.BaseRequest
Id int64 `json:"id"`
}
type ApiDeleteData struct {
}
type ApiDeleteResp struct {
base.BaseResponse
Data *ApiDeleteData `json:"data"`
}
// api 更新
type ApiUpdateReq struct {
base.BaseRequest
*dbstruct.UserWxAddCheck
}
type ApiUpdateData struct {
}
type ApiUpdateResp struct {
base.BaseResponse
Data *ApiUpdateData `json:"data"`
}
// api 列表
type ApiListReq struct {
base.BaseRequest
Offset int `json:"offset"`
Limit int `json:"limit"`
}
type ApiListData struct {
List []*dbstruct.UserWxAddCheck `json:"list"`
Offset int `json:"offset"`
More int `json:"more"`
}
type ApiListResp struct {
base.BaseResponse
Data *ApiListData `json:"data"`
}