Documentation ¶
Overview ¶
Package security 风控违规积分
Index ¶
- type DisposalInfo
- type ScoreDisposalInfoGetFilter
- type ScoreDisposalInfoGetRequest
- type ScoreDisposalInfoGetResponse
- type ScoreDisposalInfoGetResult
- type ScoreEvent
- type ScoreInfo
- type ScoreTotalGetFilter
- type ScoreTotalGetRequest
- type ScoreTotalGetResponse
- type ScoreTotalGetResult
- type ScoreViolationEventGetFilter
- type ScoreViolationEventGetRequest
- type ScoreViolationEventGetResponse
- type ScoreViolationEventGetResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisposalInfo ¶
type DisposalInfo struct { // DisposalAction 处置行为 // ACCOUNTCLEAR 账户封停+主体限制新建账户 DisposalAction string `json:"disposal_action,omitempty"` // DisposalTerm 处置时长 DisposalTerm string `json:"disposal_term,omitempty"` // DisposalStartTime 处置开始时间 DisposalStartTime string `json:"disposal_start_time,omitempty"` // DisposalEndTime 处置结束时间 DisposalEndTime string `json:"disposal_end_time,omitempty"` // DisposalStatus 处置状态 // DISPOSAL 已处置 DisposalStatus string `json:"disposal_status,omitempty"` // OuterText 对外文案 OuterText string `json:"outer_text,omitempty"` // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // DisposalScore 落罚分值 DisposalScore int64 `json:"disposal_score,omitempty"` }
DisposalInfo 处置信息
type ScoreDisposalInfoGetRequest ¶
type ScoreDisposalInfoGetRequest struct { // Filtering 过滤条件 Filtering *ScoreDisposalInfoGetFilter `json:"filtering,omitempty"` // BusinessLine 业务线,允许值: // AD 巨量广告 BusinessLine string `json:"business_line,omitempty"` // OrderField 排序字段 ,允许值: // disposal_start_time 处置开始时间 // disposal_end_time 处置结束时间 OrderField string `json:"order_field,omitempty"` // OrderType 排序方式 可选值: // ASC 升序,默认 // DESC 降序 OrderType string `json:"order_type,omitempty"` // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` // Page 页数,默认值:1,page范围为[1,99999] Page int `json:"page,omitempty"` // PageSize 页面大小,默认值:10,page_size范围为[1,100] PageSize int `json:"page_size,omitempty"` }
ScoreDisposalInfoGetRequest 查看积分处置详情 API Request
func (ScoreDisposalInfoGetRequest) Encode ¶
func (r ScoreDisposalInfoGetRequest) Encode() string
type ScoreDisposalInfoGetResponse ¶
type ScoreDisposalInfoGetResponse struct { Data *ScoreDisposalInfoGetResult `json:"data,omitempty"` model.BaseResponse }
ScoreDisposalInfoGetResponse 查看积分处置详情 API Response
type ScoreDisposalInfoGetResult ¶
type ScoreDisposalInfoGetResult struct { // PageInfo 分页信息 PageInfo *model.PageInfo `json:"page_info,omitempty"` // DisposalInfoList 处置信息 DisposalInfoList []DisposalInfo `json:"disposal_info_list,omitempty"` }
type ScoreEvent ¶
type ScoreEvent struct { // MaterialID 素材id MaterialID string `json:"material_id,omitempty"` // ViolationEvidenceImg 违规证据截图 ViolationEvidenceImg string `json:"violation_evidence_img,omitempty"` // RejectReason 拒绝理由 RejectReason string `json:"reject_reason,omitempty"` // CreateTIme 创建时间 CreateTIme string `json:"create_time,omitempty"` // Status 状态,枚举值: // APPEAL 已申诉(失效) // FAILAPPEAL 申诉失败 // ONAPPEAL 申诉中 // VALID 生效 Status enum.SecurityScoreViolationEventStatus `json:"status,omitempty"` // IllegalType 违规类型 IllegalType enum.SecurityScoreIllegalType `json:"illegal_type,omitempty"` // EventID 违规单id EventID uint64 `json:"event_id,omitempty"` // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // AdID 计划id(AD2.0为广告id) AdID uint64 `json:"ad_id,omitempty"` // Score 扣罚分值 Score int64 `json:"score,omitempty"` }
type ScoreInfo ¶
type ScoreInfo struct { // IllegalType 违规类型 可选值: // GENERAL 一般违规(AD) // SERIOUS 严重违规(AD) IllegalType enum.SecurityScoreIllegalType `json:"illegal_type,omitempty"` // Year 积分年度 Year string `json:"year,omitempty"` // AdvertiserID 广告主id AdvertiserID uint64 `json:"advertiser_id,omitempty"` // Score 积分 Score int `json:"score,omitempty"` }
ScoreInfo 积分详情
type ScoreTotalGetFilter ¶
type ScoreTotalGetFilter struct { // Year 积分年度,如:2000 Year string `json:"year,omitempty"` // IllegalType 违规类型 可选值: // GENERAL 一般违规(AD) // SERIOUS 严重违规(AD) IllegalType enum.SecurityScoreIllegalType `json:"illegal_type,omitempty"` }
type ScoreTotalGetRequest ¶
type ScoreTotalGetRequest struct { // Filter 过滤器 Filter *ScoreTotalGetFilter `json:"filter,omitempty"` // BusinessLine 业务线,允许值: // AD 巨量广告 BusinessLine string `json:"business_line,omitempty"` // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` // Page 页数,默认值:1,page范围为[1,99999] Page int `json:"page,omitempty"` // PageSize 页面大小,默认值:10,page_size范围为[1,100] PageSize int `json:"page_size,omitempty"` }
ScoreTotalGetRequest 查询账户累计积分 API Request
func (ScoreTotalGetRequest) Encode ¶
func (r ScoreTotalGetRequest) Encode() string
type ScoreTotalGetResponse ¶
type ScoreTotalGetResponse struct { Data *ScoreTotalGetResult `json:"data,omitempty"` model.BaseResponse }
ScoreTotalGetResponse 查询账户累计积分 API Response
type ScoreTotalGetResult ¶
type ScoreViolationEventGetFilter ¶
type ScoreViolationEventGetFilter struct { // Status 生效状态,允许值: // APPEAL 已申诉(失效) // FAILAPPEAL 申诉失败 // ONAPPEAL 申诉中 // VALID 生效 Status enum.SecurityScoreViolationEventStatus `json:"status,omitempty"` // StartTime 开始时间 StartTime string `json:"start_time,omitempty"` // EndTime 结束时间 EndTime string `json:"end_time,omitempty"` // IllegalType 违规类型 // GENERAL 一般违规(AD) // SERIOUS 严重违规(AD) IllegalType enum.SecurityScoreIllegalType `json:"illegal_type,omitempty"` // EventID 积分违规单 EventID uint64 `json:"event_id,omitempty"` }
type ScoreViolationEventGetRequest ¶
type ScoreViolationEventGetRequest struct { // Filtering 过滤器 Filtering *ScoreViolationEventGetFilter `json:"filtering,omitempty"` // BusinessLine 业务线,允许值: // AD 巨量广告 BusinessLine string `json:"business_line,omitempty"` // AdvertiserID 广告主ID AdvertiserID uint64 `json:"advertiser_id,omitempty"` // Page 页数,默认值:1,page范围为[1,99999] Page int `json:"page,omitempty"` // PageSize 页面大小,默认值:10,page_size范围为[1,100] PageSize int `json:"page_size,omitempty"` }
ScoreViolationEventGetRequest 查询违规积分明细 API Request
func (ScoreViolationEventGetRequest) Encode ¶
func (r ScoreViolationEventGetRequest) Encode() string
type ScoreViolationEventGetResponse ¶
type ScoreViolationEventGetResponse struct { Data *ScoreViolationEventGetResult `json:"data,omitempty"` model.BaseResponse }
ScoreViolationEventGetResponse 查询违规积分明细 API Response
type ScoreViolationEventGetResult ¶
type ScoreViolationEventGetResult struct { // PageInfo 分页信息 PageInfo *model.PageInfo `json:"page_info,omitempty"` // AdvScoreEvent AdvScoreEvent []ScoreEvent `json:"adv_score_event,omitempty"` }
Click to show internal directories.
Click to hide internal directories.