kgen 平台接口
This commit is contained in:
@@ -71,6 +71,26 @@ type GetTaskRewardResp struct {
|
||||
Points int `json:"points"` // 积分
|
||||
}
|
||||
|
||||
type KGeNResult struct {
|
||||
Status KGeNStatus `json:"status"` // 状态
|
||||
Data KGeNResultData `json:"data"` // 数据
|
||||
}
|
||||
|
||||
type KGeNResultData struct {
|
||||
IsValid bool `json:"isValid"` // true:是,false:否
|
||||
}
|
||||
|
||||
type KGeNStatus struct {
|
||||
Code int `json:"code"` // 状态码
|
||||
Msg string `json:"msg"` // 状态信息
|
||||
}
|
||||
|
||||
type KGeNTaskCheckReq struct {
|
||||
ApiKey string `header:"x-api-key"` // api key
|
||||
Email string `form:"email"` // 邮箱
|
||||
Type int8 `form:"type"` // 1.在官网注册(是否) 2.链接钱包(是否) 3.下载并绑定游戏账号(是否)
|
||||
}
|
||||
|
||||
type Result struct {
|
||||
IsValid bool `json:"isValid"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user