Documentation
¶
Index ¶
- Constants
- type CaptchaOperDataInterceptUnit
- type CaptchaOperDataLoadTimeUnit
- type CaptchaOperDataRes
- type CaptchaOperDataTryTimesDistributeUnit
- type CaptchaOperDataTryTimesUnit
- type CaptchaQueryData
- type CaptchaTicketDataRes
- type CaptchaUserAllAppId
- type Client
- func (c *Client) DescribeCaptchaAppIdInfo(request *DescribeCaptchaAppIdInfoRequest) (response *DescribeCaptchaAppIdInfoResponse, err error)
- func (c *Client) DescribeCaptchaData(request *DescribeCaptchaDataRequest) (response *DescribeCaptchaDataResponse, err error)
- func (c *Client) DescribeCaptchaDataSum(request *DescribeCaptchaDataSumRequest) (response *DescribeCaptchaDataSumResponse, err error)
- func (c *Client) DescribeCaptchaMiniData(request *DescribeCaptchaMiniDataRequest) (response *DescribeCaptchaMiniDataResponse, err error)
- func (c *Client) DescribeCaptchaMiniDataSum(request *DescribeCaptchaMiniDataSumRequest) (response *DescribeCaptchaMiniDataSumResponse, err error)
- func (c *Client) DescribeCaptchaMiniOperData(request *DescribeCaptchaMiniOperDataRequest) (response *DescribeCaptchaMiniOperDataResponse, err error)
- func (c *Client) DescribeCaptchaMiniResult(request *DescribeCaptchaMiniResultRequest) (response *DescribeCaptchaMiniResultResponse, err error)
- func (c *Client) DescribeCaptchaMiniRiskResult(request *DescribeCaptchaMiniRiskResultRequest) (response *DescribeCaptchaMiniRiskResultResponse, err error)
- func (c *Client) DescribeCaptchaOperData(request *DescribeCaptchaOperDataRequest) (response *DescribeCaptchaOperDataResponse, err error)
- func (c *Client) DescribeCaptchaResult(request *DescribeCaptchaResultRequest) (response *DescribeCaptchaResultResponse, err error)
- func (c *Client) DescribeCaptchaTicketData(request *DescribeCaptchaTicketDataRequest) (response *DescribeCaptchaTicketDataResponse, err error)
- func (c *Client) DescribeCaptchaUserAllAppId(request *DescribeCaptchaUserAllAppIdRequest) (response *DescribeCaptchaUserAllAppIdResponse, err error)
- func (c *Client) UpdateCaptchaAppIdInfo(request *UpdateCaptchaAppIdInfoRequest) (response *UpdateCaptchaAppIdInfoResponse, err error)
- type DescribeCaptchaAppIdInfoRequest
- type DescribeCaptchaAppIdInfoResponse
- type DescribeCaptchaDataRequest
- type DescribeCaptchaDataResponse
- type DescribeCaptchaDataSumRequest
- type DescribeCaptchaDataSumResponse
- type DescribeCaptchaMiniDataRequest
- type DescribeCaptchaMiniDataResponse
- type DescribeCaptchaMiniDataSumRequest
- type DescribeCaptchaMiniDataSumResponse
- type DescribeCaptchaMiniOperDataRequest
- type DescribeCaptchaMiniOperDataResponse
- type DescribeCaptchaMiniResultRequest
- type DescribeCaptchaMiniResultResponse
- type DescribeCaptchaMiniRiskResultRequest
- type DescribeCaptchaMiniRiskResultResponse
- type DescribeCaptchaOperDataRequest
- type DescribeCaptchaOperDataResponse
- type DescribeCaptchaResultRequest
- type DescribeCaptchaResultResponse
- type DescribeCaptchaTicketDataRequest
- type DescribeCaptchaTicketDataResponse
- type DescribeCaptchaUserAllAppIdRequest
- type DescribeCaptchaUserAllAppIdResponse
- type OutputManageMarketingRiskValue
- type TicketAmountUnit
- type TicketInterceptUnit
- type TicketThroughUnit
- type UpdateCaptchaAppIdInfoRequest
- type UpdateCaptchaAppIdInfoResponse
Constants ¶
const APIVersion = "2019-07-22"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaOperDataInterceptUnit ¶
type CaptchaOperDataInterceptUnit struct {
// 时间
DateKey *string `json:"DateKey,omitempty" name:"DateKey"`
// 停止验证数量
AllStopCnt *float64 `json:"AllStopCnt,omitempty" name:"AllStopCnt"`
// 图片停止加载数量
PicStopCnt *float64 `json:"PicStopCnt,omitempty" name:"PicStopCnt"`
// 策略拦截数量
StrategyStopCnt *float64 `json:"StrategyStopCnt,omitempty" name:"StrategyStopCnt"`
}
type CaptchaOperDataRes ¶
type CaptchaOperDataRes struct {
// 验证码加载耗时数据返回
// 注意:此字段可能返回 null,表示取不到有效值。
OperDataLoadTimeUnitArray []*CaptchaOperDataLoadTimeUnit `json:"OperDataLoadTimeUnitArray,omitempty" name:"OperDataLoadTimeUnitArray" list`
// 验证码拦截情况数据返回
// 注意:此字段可能返回 null,表示取不到有效值。
OperDataInterceptUnitArray []*CaptchaOperDataInterceptUnit `json:"OperDataInterceptUnitArray,omitempty" name:"OperDataInterceptUnitArray" list`
// 验证码尝试次数数据返回
// 注意:此字段可能返回 null,表示取不到有效值。
OperDataTryTimesUnitArray []*CaptchaOperDataTryTimesUnit `json:"OperDataTryTimesUnitArray,omitempty" name:"OperDataTryTimesUnitArray" list`
// 验证码尝试次数分布数据返回
// 注意:此字段可能返回 null,表示取不到有效值。
OperDataTryTimesDistributeUnitArray []*CaptchaOperDataTryTimesDistributeUnit `json:"OperDataTryTimesDistributeUnitArray,omitempty" name:"OperDataTryTimesDistributeUnitArray" list`
}
type CaptchaQueryData ¶
type CaptchaTicketDataRes ¶
type CaptchaTicketDataRes struct {
// 票据验证总量返回
TicketAmountArray []*TicketAmountUnit `json:"TicketAmountArray,omitempty" name:"TicketAmountArray" list`
// 票据验证通过量返回
TicketThroughArray []*TicketThroughUnit `json:"TicketThroughArray,omitempty" name:"TicketThroughArray" list`
// 票据验证拦截量返回
TicketInterceptArray []*TicketInterceptUnit `json:"TicketInterceptArray,omitempty" name:"TicketInterceptArray" list`
}
type CaptchaUserAllAppId ¶
type CaptchaUserAllAppId struct {
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 注册应用名称
AppName *string `json:"AppName,omitempty" name:"AppName"`
// 腾讯云APPID
TcAppId *int64 `json:"TcAppId,omitempty" name:"TcAppId"`
// 渠道信息
ChannelInfo *string `json:"ChannelInfo,omitempty" name:"ChannelInfo"`
}
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) DescribeCaptchaAppIdInfo ¶
func (c *Client) DescribeCaptchaAppIdInfo(request *DescribeCaptchaAppIdInfoRequest) (response *DescribeCaptchaAppIdInfoResponse, err error)
查询安全验证码应用APPId信息
func (*Client) DescribeCaptchaData ¶
func (c *Client) DescribeCaptchaData(request *DescribeCaptchaDataRequest) (response *DescribeCaptchaDataResponse, err error)
安全验证码分类查询数据接口,请求量type=0、通过量type=1、验证量type=2、拦截量type=3 分钟级查询
func (*Client) DescribeCaptchaDataSum ¶
func (c *Client) DescribeCaptchaDataSum(request *DescribeCaptchaDataSumRequest) (response *DescribeCaptchaDataSumResponse, err error)
安全验证码查询请求数据概况,例如:按照时间段查询数据 昨日请求量、昨日恶意比例、昨日验证量、昨日通过量、昨日恶意拦截量……
func (*Client) DescribeCaptchaMiniData ¶
func (c *Client) DescribeCaptchaMiniData(request *DescribeCaptchaMiniDataRequest) (response *DescribeCaptchaMiniDataResponse, err error)
安全验证码小程序插件分类查询数据接口,请求量type=0、通过量type=1、验证量type=2、拦截量type=3 小时级查询(五小时左右延迟)
func (*Client) DescribeCaptchaMiniDataSum ¶
func (c *Client) DescribeCaptchaMiniDataSum(request *DescribeCaptchaMiniDataSumRequest) (response *DescribeCaptchaMiniDataSumResponse, err error)
安全验证码小程序插件查询请求数据概况
func (*Client) DescribeCaptchaMiniOperData ¶
func (c *Client) DescribeCaptchaMiniOperData(request *DescribeCaptchaMiniOperDataRequest) (response *DescribeCaptchaMiniOperDataResponse, err error)
安全验证码小程序插件用户操作数据查询
func (*Client) DescribeCaptchaMiniResult ¶
func (c *Client) DescribeCaptchaMiniResult(request *DescribeCaptchaMiniResultRequest) (response *DescribeCaptchaMiniResultResponse, err error)
核查验证码小程序插件票据结果
func (*Client) DescribeCaptchaMiniRiskResult ¶
func (c *Client) DescribeCaptchaMiniRiskResult(request *DescribeCaptchaMiniRiskResultRequest) (response *DescribeCaptchaMiniRiskResultResponse, err error)
核查验证码小程序插件票据接入风控结果(Beta)
func (*Client) DescribeCaptchaOperData ¶
func (c *Client) DescribeCaptchaOperData(request *DescribeCaptchaOperDataRequest) (response *DescribeCaptchaOperDataResponse, err error)
安全验证码用户操作数据查询,验证码加载耗时type = 1 、拦截情况type = 2、 一周通过平均尝试次数 type = 3、尝试次数分布 type = 4
func (*Client) DescribeCaptchaResult ¶
func (c *Client) DescribeCaptchaResult(request *DescribeCaptchaResultRequest) (response *DescribeCaptchaResultResponse, err error)
核查验证码票据结果
func (*Client) DescribeCaptchaTicketData ¶
func (c *Client) DescribeCaptchaTicketData(request *DescribeCaptchaTicketDataRequest) (response *DescribeCaptchaTicketDataResponse, err error)
安全验证码用户操作票据数据查询
func (*Client) DescribeCaptchaUserAllAppId ¶
func (c *Client) DescribeCaptchaUserAllAppId(request *DescribeCaptchaUserAllAppIdRequest) (response *DescribeCaptchaUserAllAppIdResponse, err error)
安全验证码获取用户注册所有APPId和应用名称
func (*Client) UpdateCaptchaAppIdInfo ¶
func (c *Client) UpdateCaptchaAppIdInfo(request *UpdateCaptchaAppIdInfoRequest) (response *UpdateCaptchaAppIdInfoResponse, err error)
更新验证码应用APPId信息
type DescribeCaptchaAppIdInfoRequest ¶
type DescribeCaptchaAppIdInfoRequest struct {
*tchttp.BaseRequest
// 验证码应用注册APPID
CaptchaAppId *uint64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
}
func NewDescribeCaptchaAppIdInfoRequest ¶
func NewDescribeCaptchaAppIdInfoRequest() (request *DescribeCaptchaAppIdInfoRequest)
func (*DescribeCaptchaAppIdInfoRequest) FromJsonString ¶
func (r *DescribeCaptchaAppIdInfoRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaAppIdInfoRequest) ToJsonString ¶
func (r *DescribeCaptchaAppIdInfoRequest) ToJsonString() string
type DescribeCaptchaAppIdInfoResponse ¶
type DescribeCaptchaAppIdInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 界面风格
SchemeColor *string `json:"SchemeColor,omitempty" name:"SchemeColor"`
// 语言
Language *int64 `json:"Language,omitempty" name:"Language"`
// 场景
SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"`
// 防控风险等级
EvilInterceptGrade *int64 `json:"EvilInterceptGrade,omitempty" name:"EvilInterceptGrade"`
// 智能验证
SmartVerify *int64 `json:"SmartVerify,omitempty" name:"SmartVerify"`
// 智能引擎
SmartEngine *int64 `json:"SmartEngine,omitempty" name:"SmartEngine"`
// 验证码类型
CapType *int64 `json:"CapType,omitempty" name:"CapType"`
// 应用名称
AppName *string `json:"AppName,omitempty" name:"AppName"`
// 域名限制
DomainLimit *string `json:"DomainLimit,omitempty" name:"DomainLimit"`
// 邮件告警
// 注意:此字段可能返回 null,表示取不到有效值。
MailAlarm []*string `json:"MailAlarm,omitempty" name:"MailAlarm" list`
// 流量控制
TrafficThreshold *int64 `json:"TrafficThreshold,omitempty" name:"TrafficThreshold"`
// 加密key
EncryptKey *string `json:"EncryptKey,omitempty" name:"EncryptKey"`
// 是否全屏
TopFullScreen *int64 `json:"TopFullScreen,omitempty" name:"TopFullScreen"`
// 成功返回0 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 返回操作信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaAppIdInfoResponse ¶
func NewDescribeCaptchaAppIdInfoResponse() (response *DescribeCaptchaAppIdInfoResponse)
func (*DescribeCaptchaAppIdInfoResponse) FromJsonString ¶
func (r *DescribeCaptchaAppIdInfoResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaAppIdInfoResponse) ToJsonString ¶
func (r *DescribeCaptchaAppIdInfoResponse) ToJsonString() string
type DescribeCaptchaDataRequest ¶
type DescribeCaptchaDataRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间
Start *int64 `json:"Start,omitempty" name:"Start"`
// 查询结束时间
End *int64 `json:"End,omitempty" name:"End"`
// 查询类型
Type *int64 `json:"Type,omitempty" name:"Type"`
}
func NewDescribeCaptchaDataRequest ¶
func NewDescribeCaptchaDataRequest() (request *DescribeCaptchaDataRequest)
func (*DescribeCaptchaDataRequest) FromJsonString ¶
func (r *DescribeCaptchaDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaDataRequest) ToJsonString ¶
func (r *DescribeCaptchaDataRequest) ToJsonString() string
type DescribeCaptchaDataResponse ¶
type DescribeCaptchaDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回码 0 成功 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 数据数组
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*CaptchaQueryData `json:"Data,omitempty" name:"Data" list`
// 返回信息描述
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaDataResponse ¶
func NewDescribeCaptchaDataResponse() (response *DescribeCaptchaDataResponse)
func (*DescribeCaptchaDataResponse) FromJsonString ¶
func (r *DescribeCaptchaDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaDataResponse) ToJsonString ¶
func (r *DescribeCaptchaDataResponse) ToJsonString() string
type DescribeCaptchaDataSumRequest ¶
type DescribeCaptchaDataSumRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间
Start *int64 `json:"Start,omitempty" name:"Start"`
// 查询结束时间
End *int64 `json:"End,omitempty" name:"End"`
}
func NewDescribeCaptchaDataSumRequest ¶
func NewDescribeCaptchaDataSumRequest() (request *DescribeCaptchaDataSumRequest)
func (*DescribeCaptchaDataSumRequest) FromJsonString ¶
func (r *DescribeCaptchaDataSumRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaDataSumRequest) ToJsonString ¶
func (r *DescribeCaptchaDataSumRequest) ToJsonString() string
type DescribeCaptchaDataSumResponse ¶
type DescribeCaptchaDataSumResponse struct {
*tchttp.BaseResponse
Response *struct {
// 请求总量
GetSum *int64 `json:"GetSum,omitempty" name:"GetSum"`
// 请求验证成功量
VfySuccSum *int64 `json:"VfySuccSum,omitempty" name:"VfySuccSum"`
// 请求验证量
VfySum *int64 `json:"VfySum,omitempty" name:"VfySum"`
// 拦截攻击量
AttackSum *int64 `json:"AttackSum,omitempty" name:"AttackSum"`
// 返回信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 成功返回0 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 票据校验量
CheckTicketSum *int64 `json:"CheckTicketSum,omitempty" name:"CheckTicketSum"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaDataSumResponse ¶
func NewDescribeCaptchaDataSumResponse() (response *DescribeCaptchaDataSumResponse)
func (*DescribeCaptchaDataSumResponse) FromJsonString ¶
func (r *DescribeCaptchaDataSumResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaDataSumResponse) ToJsonString ¶
func (r *DescribeCaptchaDataSumResponse) ToJsonString() string
type DescribeCaptchaMiniDataRequest ¶
type DescribeCaptchaMiniDataRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间 例如:2019112900
Start *int64 `json:"Start,omitempty" name:"Start"`
// 查询结束时间 例如:2019112902
End *int64 `json:"End,omitempty" name:"End"`
// 查询类型 安全验证码小程序插件分类查询数据接口,请求量type=0、通过量type=1、验证量type=2、拦截量type=3 小时级查询(五小时左右延迟)
Type *int64 `json:"Type,omitempty" name:"Type"`
}
func NewDescribeCaptchaMiniDataRequest ¶
func NewDescribeCaptchaMiniDataRequest() (request *DescribeCaptchaMiniDataRequest)
func (*DescribeCaptchaMiniDataRequest) FromJsonString ¶
func (r *DescribeCaptchaMiniDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniDataRequest) ToJsonString ¶
func (r *DescribeCaptchaMiniDataRequest) ToJsonString() string
type DescribeCaptchaMiniDataResponse ¶
type DescribeCaptchaMiniDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回码 0 成功 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 数据数组
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*CaptchaQueryData `json:"Data,omitempty" name:"Data" list`
// 返回信息描述
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaMiniDataResponse ¶
func NewDescribeCaptchaMiniDataResponse() (response *DescribeCaptchaMiniDataResponse)
func (*DescribeCaptchaMiniDataResponse) FromJsonString ¶
func (r *DescribeCaptchaMiniDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniDataResponse) ToJsonString ¶
func (r *DescribeCaptchaMiniDataResponse) ToJsonString() string
type DescribeCaptchaMiniDataSumRequest ¶
type DescribeCaptchaMiniDataSumRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间
Start *int64 `json:"Start,omitempty" name:"Start"`
// 查询结束时间
End *int64 `json:"End,omitempty" name:"End"`
}
func NewDescribeCaptchaMiniDataSumRequest ¶
func NewDescribeCaptchaMiniDataSumRequest() (request *DescribeCaptchaMiniDataSumRequest)
func (*DescribeCaptchaMiniDataSumRequest) FromJsonString ¶
func (r *DescribeCaptchaMiniDataSumRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniDataSumRequest) ToJsonString ¶
func (r *DescribeCaptchaMiniDataSumRequest) ToJsonString() string
type DescribeCaptchaMiniDataSumResponse ¶
type DescribeCaptchaMiniDataSumResponse struct {
*tchttp.BaseResponse
Response *struct {
// 请求总量
// 注意:此字段可能返回 null,表示取不到有效值。
GetSum *int64 `json:"GetSum,omitempty" name:"GetSum"`
// 请求验证成功量
// 注意:此字段可能返回 null,表示取不到有效值。
VfySuccSum *int64 `json:"VfySuccSum,omitempty" name:"VfySuccSum"`
// 请求验证量
// 注意:此字段可能返回 null,表示取不到有效值。
VfySum *int64 `json:"VfySum,omitempty" name:"VfySum"`
// 拦截攻击量
// 注意:此字段可能返回 null,表示取不到有效值。
AttackSum *int64 `json:"AttackSum,omitempty" name:"AttackSum"`
// 返回信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 成功返回0 其它失败
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 票据校验总量
// 注意:此字段可能返回 null,表示取不到有效值。
CheckTicketSum *int64 `json:"CheckTicketSum,omitempty" name:"CheckTicketSum"`
// 票据验证通过量
// 注意:此字段可能返回 null,表示取不到有效值。
TicketThroughputSum *int64 `json:"TicketThroughputSum,omitempty" name:"TicketThroughputSum"`
// 票据验证拦截量
// 注意:此字段可能返回 null,表示取不到有效值。
TicketInterceptSum *int64 `json:"TicketInterceptSum,omitempty" name:"TicketInterceptSum"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaMiniDataSumResponse ¶
func NewDescribeCaptchaMiniDataSumResponse() (response *DescribeCaptchaMiniDataSumResponse)
func (*DescribeCaptchaMiniDataSumResponse) FromJsonString ¶
func (r *DescribeCaptchaMiniDataSumResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniDataSumResponse) ToJsonString ¶
func (r *DescribeCaptchaMiniDataSumResponse) ToJsonString() string
type DescribeCaptchaMiniOperDataRequest ¶
type DescribeCaptchaMiniOperDataRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *uint64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间
Start *uint64 `json:"Start,omitempty" name:"Start"`
// 查询类型
Type *uint64 `json:"Type,omitempty" name:"Type"`
}
func NewDescribeCaptchaMiniOperDataRequest ¶
func NewDescribeCaptchaMiniOperDataRequest() (request *DescribeCaptchaMiniOperDataRequest)
func (*DescribeCaptchaMiniOperDataRequest) FromJsonString ¶
func (r *DescribeCaptchaMiniOperDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniOperDataRequest) ToJsonString ¶
func (r *DescribeCaptchaMiniOperDataRequest) ToJsonString() string
type DescribeCaptchaMiniOperDataResponse ¶
type DescribeCaptchaMiniOperDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 成功返回 0 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 返回信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 用户操作数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data *CaptchaOperDataRes `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaMiniOperDataResponse ¶
func NewDescribeCaptchaMiniOperDataResponse() (response *DescribeCaptchaMiniOperDataResponse)
func (*DescribeCaptchaMiniOperDataResponse) FromJsonString ¶
func (r *DescribeCaptchaMiniOperDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniOperDataResponse) ToJsonString ¶
func (r *DescribeCaptchaMiniOperDataResponse) ToJsonString() string
type DescribeCaptchaMiniResultRequest ¶
type DescribeCaptchaMiniResultRequest struct {
*tchttp.BaseRequest
// 固定填值:9(滑块验证码)
CaptchaType *uint64 `json:"CaptchaType,omitempty" name:"CaptchaType"`
// 验证码返回给用户的票据
Ticket *string `json:"Ticket,omitempty" name:"Ticket"`
// 透传业务侧获取到的验证码使用者的IP
UserIp *string `json:"UserIp,omitempty" name:"UserIp"`
// 验证码应用APPID
CaptchaAppId *uint64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
AppSecretKey *string `json:"AppSecretKey,omitempty" name:"AppSecretKey"`
// 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
BusinessId *uint64 `json:"BusinessId,omitempty" name:"BusinessId"`
// 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
SceneId *uint64 `json:"SceneId,omitempty" name:"SceneId"`
// mac 地址或设备唯一标识
MacAddress *string `json:"MacAddress,omitempty" name:"MacAddress"`
// 手机设备号
Imei *string `json:"Imei,omitempty" name:"Imei"`
}
func NewDescribeCaptchaMiniResultRequest ¶
func NewDescribeCaptchaMiniResultRequest() (request *DescribeCaptchaMiniResultRequest)
func (*DescribeCaptchaMiniResultRequest) FromJsonString ¶
func (r *DescribeCaptchaMiniResultRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniResultRequest) ToJsonString ¶
func (r *DescribeCaptchaMiniResultRequest) ToJsonString() string
type DescribeCaptchaMiniResultResponse ¶
type DescribeCaptchaMiniResultResponse struct {
*tchttp.BaseResponse
Response *struct {
// 1 ticket verification succeeded 票据验证成功
// 7 CaptchaAppId does not match 票据与验证码应用APPID不匹配
// 8 ticket expired 票据超时
// 10 ticket format error 票据格式不正确
// 15 ticket decryption failed 票据解密失败
// 16 CaptchaAppId wrong format 检查验证码应用APPID错误
// 21 ticket error 票据验证错误
// 26 system internal error 系统内部错误
// 100 param err 参数校验错误
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 状态描述及验证错误信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaMiniResultResponse ¶
func NewDescribeCaptchaMiniResultResponse() (response *DescribeCaptchaMiniResultResponse)
func (*DescribeCaptchaMiniResultResponse) FromJsonString ¶
func (r *DescribeCaptchaMiniResultResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniResultResponse) ToJsonString ¶
func (r *DescribeCaptchaMiniResultResponse) ToJsonString() string
type DescribeCaptchaMiniRiskResultRequest ¶
type DescribeCaptchaMiniRiskResultRequest struct {
*tchttp.BaseRequest
// 固定填值:9(滑块验证码)
CaptchaType *uint64 `json:"CaptchaType,omitempty" name:"CaptchaType"`
// 验证码返回给用户的票据
Ticket *string `json:"Ticket,omitempty" name:"Ticket"`
// 用户操作来源的外网 IP
UserIp *string `json:"UserIp,omitempty" name:"UserIp"`
// 验证码应用APPID
CaptchaAppId *uint64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
AppSecretKey *string `json:"AppSecretKey,omitempty" name:"AppSecretKey"`
// 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
BusinessId *uint64 `json:"BusinessId,omitempty" name:"BusinessId"`
// 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
SceneId *uint64 `json:"SceneId,omitempty" name:"SceneId"`
// mac 地址或设备唯一标识
MacAddress *string `json:"MacAddress,omitempty" name:"MacAddress"`
// 手机设备号
Imei *string `json:"Imei,omitempty" name:"Imei"`
// 验证场景:1 活动防刷场景,2 登录保护场景,3 注册保护场景。根据需求选择场景参数。
SceneCode *int64 `json:"SceneCode,omitempty" name:"SceneCode"`
// 用户操作来源的微信开放账号
WeChatOpenId *string `json:"WeChatOpenId,omitempty" name:"WeChatOpenId"`
}
func NewDescribeCaptchaMiniRiskResultRequest ¶
func NewDescribeCaptchaMiniRiskResultRequest() (request *DescribeCaptchaMiniRiskResultRequest)
func (*DescribeCaptchaMiniRiskResultRequest) FromJsonString ¶
func (r *DescribeCaptchaMiniRiskResultRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniRiskResultRequest) ToJsonString ¶
func (r *DescribeCaptchaMiniRiskResultRequest) ToJsonString() string
type DescribeCaptchaMiniRiskResultResponse ¶
type DescribeCaptchaMiniRiskResultResponse struct {
*tchttp.BaseResponse
Response *struct {
// 1 ticket verification succeeded 票据验证成功
// 7 CaptchaAppId does not match 票据与验证码应用APPID不匹配
// 8 ticket expired 票据超时
// 10 ticket format error 票据格式不正确
// 15 ticket decryption failed 票据解密失败
// 16 CaptchaAppId wrong format 检查验证码应用APPID错误
// 21 ticket error 票据验证错误
// 25 bad visitor 策略拦截
// 26 system internal error 系统内部错误
// 100 param err 参数校验错误
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 状态描述及验证错误信息
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 拦截策略返回信息
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
ManageMarketingRiskValue *OutputManageMarketingRiskValue `json:"ManageMarketingRiskValue,omitempty" name:"ManageMarketingRiskValue"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaMiniRiskResultResponse ¶
func NewDescribeCaptchaMiniRiskResultResponse() (response *DescribeCaptchaMiniRiskResultResponse)
func (*DescribeCaptchaMiniRiskResultResponse) FromJsonString ¶
func (r *DescribeCaptchaMiniRiskResultResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaMiniRiskResultResponse) ToJsonString ¶
func (r *DescribeCaptchaMiniRiskResultResponse) ToJsonString() string
type DescribeCaptchaOperDataRequest ¶
type DescribeCaptchaOperDataRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *uint64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间
Start *uint64 `json:"Start,omitempty" name:"Start"`
// 查询类型
Type *uint64 `json:"Type,omitempty" name:"Type"`
}
func NewDescribeCaptchaOperDataRequest ¶
func NewDescribeCaptchaOperDataRequest() (request *DescribeCaptchaOperDataRequest)
func (*DescribeCaptchaOperDataRequest) FromJsonString ¶
func (r *DescribeCaptchaOperDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaOperDataRequest) ToJsonString ¶
func (r *DescribeCaptchaOperDataRequest) ToJsonString() string
type DescribeCaptchaOperDataResponse ¶
type DescribeCaptchaOperDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 成功返回 0 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 返回信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 用户操作数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data *CaptchaOperDataRes `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaOperDataResponse ¶
func NewDescribeCaptchaOperDataResponse() (response *DescribeCaptchaOperDataResponse)
func (*DescribeCaptchaOperDataResponse) FromJsonString ¶
func (r *DescribeCaptchaOperDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaOperDataResponse) ToJsonString ¶
func (r *DescribeCaptchaOperDataResponse) ToJsonString() string
type DescribeCaptchaResultRequest ¶
type DescribeCaptchaResultRequest struct {
*tchttp.BaseRequest
// 固定填值:9。可在控制台配置不同验证码类型。
CaptchaType *uint64 `json:"CaptchaType,omitempty" name:"CaptchaType"`
// 前端回调函数返回的用户验证票据
Ticket *string `json:"Ticket,omitempty" name:"Ticket"`
// 透传业务侧获取到的验证码使用者的IP
UserIp *string `json:"UserIp,omitempty" name:"UserIp"`
// 前端回调函数返回的随机字符串
Randstr *string `json:"Randstr,omitempty" name:"Randstr"`
// 验证码应用ID
CaptchaAppId *uint64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
AppSecretKey *string `json:"AppSecretKey,omitempty" name:"AppSecretKey"`
// 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
BusinessId *uint64 `json:"BusinessId,omitempty" name:"BusinessId"`
// 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
SceneId *uint64 `json:"SceneId,omitempty" name:"SceneId"`
// mac 地址或设备唯一标识
MacAddress *string `json:"MacAddress,omitempty" name:"MacAddress"`
// 手机设备号
Imei *string `json:"Imei,omitempty" name:"Imei"`
// 是否返回前端获取验证码时间,取值1:需要返回
NeedGetCaptchaTime *int64 `json:"NeedGetCaptchaTime,omitempty" name:"NeedGetCaptchaTime"`
}
func NewDescribeCaptchaResultRequest ¶
func NewDescribeCaptchaResultRequest() (request *DescribeCaptchaResultRequest)
func (*DescribeCaptchaResultRequest) FromJsonString ¶
func (r *DescribeCaptchaResultRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaResultRequest) ToJsonString ¶
func (r *DescribeCaptchaResultRequest) ToJsonString() string
type DescribeCaptchaResultResponse ¶
type DescribeCaptchaResultResponse struct {
*tchttp.BaseResponse
Response *struct {
// 1 OK 验证通过
// 6 user code len error 验证码长度不匹配,请检查请求是否带Randstr参数,Randstr参数大小写是否有误
// 7 captcha no match 验证码答案不匹配/Randstr参数不匹配,请重新生成Randstr、Ticket进行校验
// 8 verify timeout 验证码签名超时,票据已过期,请重新生成Randstr、Ticket票进行校验
// 9 Sequnce repeat 验证码签名重放,票据重复使用,请重新生成Randstr、Ticket进行校验
// 10 Sequnce invalid 验证码签名序列
// 11 Cookie invalid 验证码cookie信息不合法,非法请求,可能存在不规范接入
// 12 sig len error 签名长度错误
// 13 verify ip no match ip不匹配,非法请求,可能存在不规范接入
// 15 decrypt fail 验证码签名解密失败,票据校验失败,请检查Ticket票据是否与前端返回Ticket一致
// 16 appid no match 验证码强校验appid错误,请检查CaptchaAppId是否为控制台基础配置界面系统分配的APPID
// 17 cmd no much 验证码系统命令不匹配
// 18 uin no match 号码不匹配
// 19 seq redirect 重定向验证
// 20 opt no vcode 操作使用pt免验证码校验错误
// 21 diff 差别,验证错误
// 22 captcha type not match 验证码类型与拉取时不一致
// 23 verify type error 验证类型错误
// 24 invalid pkg 非法请求包
// 25 bad visitor 策略拦截
// 26 system busy 系统内部错误
// 100 param err appsecretkey 参数校验错误,请检查AppSecretKey是否与控制台基础配置界面系统分配的APPID、AppSecretKey相对应
// 104 Ticket Reuse 票据重复使用,同个票据验证多次,请重新生成Randstr、Ticket进行校验
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 状态描述及验证错误信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// [0,100],恶意等级
// 注意:此字段可能返回 null,表示取不到有效值。
EvilLevel *int64 `json:"EvilLevel,omitempty" name:"EvilLevel"`
// 前端获取验证码时间,时间戳格式
// 注意:此字段可能返回 null,表示取不到有效值。
GetCaptchaTime *int64 `json:"GetCaptchaTime,omitempty" name:"GetCaptchaTime"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaResultResponse ¶
func NewDescribeCaptchaResultResponse() (response *DescribeCaptchaResultResponse)
func (*DescribeCaptchaResultResponse) FromJsonString ¶
func (r *DescribeCaptchaResultResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaResultResponse) ToJsonString ¶
func (r *DescribeCaptchaResultResponse) ToJsonString() string
type DescribeCaptchaTicketDataRequest ¶
type DescribeCaptchaTicketDataRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 查询开始时间 例如:20200909
Start *int64 `json:"Start,omitempty" name:"Start"`
}
func NewDescribeCaptchaTicketDataRequest ¶
func NewDescribeCaptchaTicketDataRequest() (request *DescribeCaptchaTicketDataRequest)
func (*DescribeCaptchaTicketDataRequest) FromJsonString ¶
func (r *DescribeCaptchaTicketDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaTicketDataRequest) ToJsonString ¶
func (r *DescribeCaptchaTicketDataRequest) ToJsonString() string
type DescribeCaptchaTicketDataResponse ¶
type DescribeCaptchaTicketDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 成功返回 0 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 返回信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 验证码票据信息
// 注意:此字段可能返回 null,表示取不到有效值。
Data *CaptchaTicketDataRes `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaTicketDataResponse ¶
func NewDescribeCaptchaTicketDataResponse() (response *DescribeCaptchaTicketDataResponse)
func (*DescribeCaptchaTicketDataResponse) FromJsonString ¶
func (r *DescribeCaptchaTicketDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaTicketDataResponse) ToJsonString ¶
func (r *DescribeCaptchaTicketDataResponse) ToJsonString() string
type DescribeCaptchaUserAllAppIdRequest ¶
type DescribeCaptchaUserAllAppIdRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCaptchaUserAllAppIdRequest ¶
func NewDescribeCaptchaUserAllAppIdRequest() (request *DescribeCaptchaUserAllAppIdRequest)
func (*DescribeCaptchaUserAllAppIdRequest) FromJsonString ¶
func (r *DescribeCaptchaUserAllAppIdRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaUserAllAppIdRequest) ToJsonString ¶
func (r *DescribeCaptchaUserAllAppIdRequest) ToJsonString() string
type DescribeCaptchaUserAllAppIdResponse ¶
type DescribeCaptchaUserAllAppIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 用户注册的所有Appid和应用名称
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*CaptchaUserAllAppId `json:"Data,omitempty" name:"Data" list`
// 成功返回 0 其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 返回操作信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCaptchaUserAllAppIdResponse ¶
func NewDescribeCaptchaUserAllAppIdResponse() (response *DescribeCaptchaUserAllAppIdResponse)
func (*DescribeCaptchaUserAllAppIdResponse) FromJsonString ¶
func (r *DescribeCaptchaUserAllAppIdResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCaptchaUserAllAppIdResponse) ToJsonString ¶
func (r *DescribeCaptchaUserAllAppIdResponse) ToJsonString() string
type OutputManageMarketingRiskValue ¶
type OutputManageMarketingRiskValue struct {
// 账号 ID。对应输入参数: AccountType 是 1 时,对应 QQ 的 OpenID。
// AccountType 是 2 时,对应微信的 OpenID/UnionID。
// AccountType 是 4 时,对应手机号。
// AccountType 是 8 时,对应 imei、idfa、imeiMD5 或者 idfaMD5。
// AccountType 是 0 时,对应账号信息。
// AccountType 是 10004 时,对应手机号的 MD5。
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
UserId *string `json:"UserId,omitempty" name:"UserId"`
// 操作时间戳,单位秒(对应输入参数)。
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
PostTime *int64 `json:"PostTime,omitempty" name:"PostTime"`
// 对应输入参数,AccountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录 后关联业务自身的账号 ID。
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
AssociateAccount *string `json:"AssociateAccount,omitempty" name:"AssociateAccount"`
// 业务详情。 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
UserIp *string `json:"UserIp,omitempty" name:"UserIp"`
// 风险值 pass : 无恶意
// review:需要人工审核
// reject:拒绝,高风险恶意
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`
// 风险类型,请查看下面详细说明 注意:此字段可能返回 null,表示取不到有效值。
// 账号风险
// 账号信用低 1 账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素
// 疑似 低活跃账号 11 账号活跃度与正常用户有差异
// 垃圾账号 2 疑似批量注册小号,近期存在严重违规或大量举报
// 疑似小号 21 账号有疑似线上养号,小号等行为
// 疑似 违规账号 22 账号曾有违规行为、曾被举报过、曾因违规被处罚过等
// 无效账号 3 送检账号参数无法成功解析,请检查微信 openid 是否有
// 黑名单 4 该账号在业务侧有过拉黑记录
// 白名单 5 业务自行有添加过白名单记录
// 行为风险
// 批量操作 101 存在 ip/设备/环境等因素的聚集性异常
// 疑似 IP 属性聚集 1011 出现 IP 聚集
// 疑似 设备属性聚集 1012 出现设备聚集
// 自动机 103 疑似自动机批量请求
// 微信登录态无效 104 检查 wxtoken 参数,是否已经失效
// 环境风险
// 环境异常 201 操作 ip/设备/环境存在异常。当前 ip 为非常用 ip 或恶意 ip 段
// 疑似 非常用IP请求 2011 当前请求 IP 非该账号常用 IP
// 疑似 IP 异常 2012 使用 idc 机房 ip 或 使用代理 ip 或 使用恶意 ip
// 非公网有效 ip 205 传进来的 IP 地址为内网 ip 地址或者 ip 保留地
// 注意:此字段可能返回 null,表示取不到有效值。
RiskType []*int64 `json:"RiskType,omitempty" name:"RiskType" list`
}
type TicketAmountUnit ¶
type TicketInterceptUnit ¶
type TicketThroughUnit ¶
type UpdateCaptchaAppIdInfoRequest ¶
type UpdateCaptchaAppIdInfoRequest struct {
*tchttp.BaseRequest
// 验证码应用ID
CaptchaAppId *int64 `json:"CaptchaAppId,omitempty" name:"CaptchaAppId"`
// 应用名
AppName *string `json:"AppName,omitempty" name:"AppName"`
// 域名限制
DomainLimit *string `json:"DomainLimit,omitempty" name:"DomainLimit"`
// 场景类型
SceneType *int64 `json:"SceneType,omitempty" name:"SceneType"`
// 验证码类型
CapType *int64 `json:"CapType,omitempty" name:"CapType"`
// 风险级别
EvilInterceptGrade *int64 `json:"EvilInterceptGrade,omitempty" name:"EvilInterceptGrade"`
// 智能检测
SmartVerify *int64 `json:"SmartVerify,omitempty" name:"SmartVerify"`
// 开启智能引擎
SmartEngine *int64 `json:"SmartEngine,omitempty" name:"SmartEngine"`
// web风格
SchemeColor *string `json:"SchemeColor,omitempty" name:"SchemeColor"`
// 语言
CaptchaLanguage *int64 `json:"CaptchaLanguage,omitempty" name:"CaptchaLanguage"`
// 告警邮箱
MailAlarm *string `json:"MailAlarm,omitempty" name:"MailAlarm"`
// 是否全屏
TopFullScreen *int64 `json:"TopFullScreen,omitempty" name:"TopFullScreen"`
// 流量限制
TrafficThreshold *int64 `json:"TrafficThreshold,omitempty" name:"TrafficThreshold"`
}
func NewUpdateCaptchaAppIdInfoRequest ¶
func NewUpdateCaptchaAppIdInfoRequest() (request *UpdateCaptchaAppIdInfoRequest)
func (*UpdateCaptchaAppIdInfoRequest) FromJsonString ¶
func (r *UpdateCaptchaAppIdInfoRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCaptchaAppIdInfoRequest) ToJsonString ¶
func (r *UpdateCaptchaAppIdInfoRequest) ToJsonString() string
type UpdateCaptchaAppIdInfoResponse ¶
type UpdateCaptchaAppIdInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回码 0 成功,其它失败
CaptchaCode *int64 `json:"CaptchaCode,omitempty" name:"CaptchaCode"`
// 返回操作信息
// 注意:此字段可能返回 null,表示取不到有效值。
CaptchaMsg *string `json:"CaptchaMsg,omitempty" name:"CaptchaMsg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateCaptchaAppIdInfoResponse ¶
func NewUpdateCaptchaAppIdInfoResponse() (response *UpdateCaptchaAppIdInfoResponse)
func (*UpdateCaptchaAppIdInfoResponse) FromJsonString ¶
func (r *UpdateCaptchaAppIdInfoResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCaptchaAppIdInfoResponse) ToJsonString ¶
func (r *UpdateCaptchaAppIdInfoResponse) ToJsonString() string