service/api/proto/thumbsup/proto/thumbsup_api.go

26 lines
467 B
Go

package proto
import (
"service/api/base"
"service/dbstruct"
)
// op 列表
type ApiListReq struct {
base.BaseRequest
MomentId *int64 `json:"moment_id"`
Offset int `json:"offset"`
Limit int `json:"limit"`
}
type ApiListData struct {
List []*dbstruct.ThumbsUp `json:"list"`
Offset int `json:"offset"`
More int `json:"more"`
}
type ApiListResp struct {
base.BaseResponse
Data *ApiListData `json:"data"`
}