Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) FindRisk(CodeType, IdType, MteeCode, UserId string, optional openapi.M) (*FindRiskResponse, error)
- func (api API) SendVerifyCode(ChannelType, CodeType, IdType, MteeCode, UserId string, optional openapi.M) (*SendVerifyCodeResponse, error)
- func (api API) ValidateVerifyCode(ChannelType, CodeType, IdType, MteeCode, UserId, VerifyCode string, ...) (*ValidateVerifyCodeResponse, error)
- type FindRiskResponse
- type SendVerifyCodeResponse
- type ValidateVerifyCodeResponse
Constants ¶
View Source
const ( Product = "Risk" Style = "RPC" Version = "2015-03-23" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) FindRisk ¶
func (api API) FindRisk(CodeType, IdType, MteeCode, UserId string, optional openapi.M) (*FindRiskResponse, error)
FindRisk version 2015-03-23
required parameters:
name: CodeType, type: string name: IdType, type: string name: MteeCode, type: string name: UserId, type: string
optional parameters:
name: Collina, type: string name: Email, type: string name: Ip, type: string name: Phone, type: string name: UmidToken, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) SendVerifyCode ¶
func (api API) SendVerifyCode(ChannelType, CodeType, IdType, MteeCode, UserId string, optional openapi.M) (*SendVerifyCodeResponse, error)
SendVerifyCode version 2015-03-23
required parameters:
name: ChannelType, type: string name: CodeType, type: string name: IdType, type: string name: MteeCode, type: string name: UserId, type: string
optional parameters:
name: BizId, type: string name: EventId, type: string name: MessageReiver, type: string name: RequestId, type: string name: TimeInterval, type: int name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) ValidateVerifyCode ¶
func (api API) ValidateVerifyCode(ChannelType, CodeType, IdType, MteeCode, UserId, VerifyCode string, optional openapi.M) (*ValidateVerifyCodeResponse, error)
ValidateVerifyCode version 2015-03-23
required parameters:
name: ChannelType, type: string name: CodeType, type: string name: IdType, type: string name: MteeCode, type: string name: UserId, type: string name: VerifyCode, type: string
optional parameters:
name: Collina, type: string name: Ip, type: string name: RequestId, type: string name: UmidToken, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string
type FindRiskResponse ¶
type FindRiskResponse struct { Code string Data struct { Action string Message string NoRisk bool Tag string } }
FindRiskResponse represents the response of the api FindRisk.
type SendVerifyCodeResponse ¶
type SendVerifyCodeResponse struct {
Code string
}
SendVerifyCodeResponse represents the response of the api SendVerifyCode.
type ValidateVerifyCodeResponse ¶
type ValidateVerifyCodeResponse struct {
Code string
}
ValidateVerifyCodeResponse represents the response of the api ValidateVerifyCode.
Click to show internal directories.
Click to hide internal directories.