风险监控Go语言SDK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
risk-sdk-go/model.go

30 lines
763 B

package risk
type Request struct {
AppID string `json:"app_id"`
Time int64 `json:"time"`
Data interface{} `json:"data"`
Random string `json:"random"`
Sign string `json:"sign"`
}
type LogData struct {
Organize string `json:"organize"`
User string `json:"user"`
Ip string `json:"ip"`
UserAgent string `json:"user_agent"`
PageType string `json:"page_type"`
Value int64 `json:"value"`
Request string `json:"request"`
DbCount []*DBCount `json:"db_count"`
}
type DBCount struct {
DB string `json:"db"`
UniqueKey string `json:"unique_key"`
}
type SyncData struct {
DbKey string `json:"db_key"`
DbName string `json:"db_name"`
DbCount int64 `json:"db_count"`
}