Documentation ¶
Index ¶
- type IPBlackRequest
- type IPBlackResponse
- type IPDetailRequest
- type IPDetailResponse
- type IPListDetail
- type IPListRequest
- type IPListResponse
- type ListDetail
- type RiskCheckV2Request
- type RiskCheckV2Response
- type UIDBlackRequest
- type UIDBlackResponse
- type UIDDetailRequest
- type UIDDetailResponse
- type UIDListDetail
- type UIDListRequest
- type UIDListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPBlackRequest ¶
type IPBlackRequest struct { IP string `json:"ip" form:"ip" validate:"required"` CustomerID int64 `json:"customer_id" form:"customer_id" validate:"required"` Minute int64 `json:"minute" form:"minute" validate:"required"` }
IPBlackRequest .
type IPDetailRequest ¶
type IPDetailRequest struct { IP string `json:"ip" form:"ip" validate:"required"` Timestamp int64 `json:"timestamp" form:"timestamp" validate:"required"` }
IPDetailRequest .
type IPDetailResponse ¶
type IPDetailResponse struct {
List []*ListDetail `json:"list"`
}
IPDetailResponse .
type IPListDetail ¶
type IPListDetail struct { IP string `json:"ip"` Num int64 `json:"num"` Timestamp int64 `json:"timestamp"` }
IPListDetail .
type IPListResponse ¶
type IPListResponse struct {
List []*IPListDetail `json:"list"`
}
IPListResponse .
type ListDetail ¶
ListDetail .
type RiskCheckV2Request ¶
type RiskCheckV2Request struct { UID int64 `json:"uid" form:"uid" validate:"required"` UserClientIP string `json:"userClientIp" form:"userClientIp" validate:"required"` InterfaceName string `json:"interfaceName" form:"interfaceName" validate:"required"` InterfaceDesc string `json:"interfaceDesc" form:"interfaceDesc" validate:"required"` CustomerID int64 `json:"customerID" form:"customerId" validate:"required"` DeviceInfo string `json:"deviceInfo" form:"deviceInfo" validate:"required"` ItemInfo string `json:"itemInfo" form:"itemInfo" validate:"required"` BuyerInfo string `json:"buyerInfo" form:"buyerInfo"` AddrInfo string `json:"addrInfo" form:"addrInfo"` Voucher string `json:"voucher" form:"voucher"` ReqData string `json:"reqData" form:"reqData" validate:"required"` ExtraData string `json:"extraData" form:"extraData"` }
RiskCheckV2Request .
type RiskCheckV2Response ¶
type RiskCheckV2Response struct { RiskID int64 `json:"riskId"` RiskLevel int64 `json:"riskLevel"` Method string `json:"method"` Desc string `json:"desc"` }
RiskCheckV2Response .
type UIDBlackRequest ¶
type UIDBlackRequest struct { UID string `json:"uid" form:"uid" validate:"required"` CustomerID int64 `json:"customer_id" form:"customer_id" validate:"required"` Minute int64 `json:"minute" form:"minute" validate:"required"` }
UIDBlackRequest .
type UIDDetailRequest ¶
type UIDDetailRequest struct { UID string `json:"uid" form:"uid" validate:"required"` Timestamp int64 `json:"timestamp" form:"timestamp" validate:"required"` }
UIDDetailRequest .
type UIDDetailResponse ¶
type UIDDetailResponse struct {
List []*ListDetail `json:"list"`
}
UIDDetailResponse .
type UIDListDetail ¶
type UIDListDetail struct { UID string `json:"uid"` Num int64 `json:"num"` Timestamp int64 `json:"timestamp"` }
UIDListDetail .
type UIDListResponse ¶
type UIDListResponse struct {
List []*UIDListDetail `json:"list"`
}
UIDListResponse .
Click to show internal directories.
Click to hide internal directories.