Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GovernViolationScoreRecordQueryRequest ¶
type GovernViolationScoreRecordQueryRequest struct { PageNum int32 `json:"pageNum"` PageSize int32 `json:"pageSize"` /** * 1-一般违规 51-严重违规 0-同时包含一般和严重违规 */ ViolationType int32 `json:"violationType"` }
func (*GovernViolationScoreRecordQueryRequest) DoInvoke ¶
func (req *GovernViolationScoreRecordQueryRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*GovernViolationScoreRecordQueryResponse, error)
type GovernViolationScoreRecordQueryResponse ¶
type GovernViolationScoreRecordQueryResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data ResultData `json:"data"` TraceId string `json:"traceId"` }
func (*GovernViolationScoreRecordQueryResponse) IsSuccess ¶
func (response *GovernViolationScoreRecordQueryResponse) IsSuccess() bool
type ResultData ¶
type ResultData struct { /** * 总数 */ Total int32 `json:"total"` /** * 总页数 */ PageTotal int32 `json:"pageTotal"` /** * 当前页 */ PageNum int32 `json:"pageNum"` /** * 数据列表 */ Data []ViolationScoreRecordDTO `json:"data"` }
type ViolationScoreRecordDTO ¶
type ViolationScoreRecordDTO struct { /** * 变更原因 */ ReasonName string `json:"reasonName"` /** * 违规类型 */ ViolationType int32 `json:"violationType"` /** * 变更分数 */ DeltaScore int32 `json:"deltaScore"` /** * 变更前分数 */ FromScore int32 `json:"fromScore"` /** * 变更后分数 */ ToScore string `json:"toScore"` /** * 变更时间 */ DateTime int64 `json:"dateTime"` /** * 对应违规单id */ ViolationId int64 `json:"violationId"` }
Click to show internal directories.
Click to hide internal directories.