56 lines
1.5 KiB
Go
56 lines
1.5 KiB
Go
|
|
package game
|
||
|
|
|
||
|
|
import (
|
||
|
|
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests"
|
||
|
|
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses"
|
||
|
|
)
|
||
|
|
|
||
|
|
type GetActivityVipUserNewWhitelistReq struct {
|
||
|
|
*requests.RpcRequest
|
||
|
|
UserName string `position:"Body" field:"user_name" default:""`
|
||
|
|
}
|
||
|
|
|
||
|
|
type GetActivityVipUserNewBlacklistReq struct {
|
||
|
|
*requests.RpcRequest
|
||
|
|
UserName string `position:"Body" field:"user_name" default:""`
|
||
|
|
}
|
||
|
|
|
||
|
|
type ActivityVipUserNewInfo struct {
|
||
|
|
Id int64 `json:"id"`
|
||
|
|
UserName string `json:"user_name"`
|
||
|
|
UserType int `json:"user_type"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type GetActivityVipUserNewResp struct {
|
||
|
|
*responses.BaseResponse
|
||
|
|
Code int `json:"code"`
|
||
|
|
Msg string `json:"msg"`
|
||
|
|
Data *ActivityVipUserNewInfo `json:"data"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func CreateGetActivityVipUserNewWhitelistReq(userName string) *GetActivityVipUserNewWhitelistReq {
|
||
|
|
req := &GetActivityVipUserNewWhitelistReq{
|
||
|
|
RpcRequest: &requests.RpcRequest{},
|
||
|
|
}
|
||
|
|
req.UserName = userName
|
||
|
|
req.InitWithApiInfo(HOST, VERSION, "/api/login/getActivityVipUserNewWhitelist")
|
||
|
|
req.Method = requests.POST
|
||
|
|
return req
|
||
|
|
}
|
||
|
|
|
||
|
|
func CreateGetActivityVipUserNewBlacklistReq(userName string) *GetActivityVipUserNewBlacklistReq {
|
||
|
|
req := &GetActivityVipUserNewBlacklistReq{
|
||
|
|
RpcRequest: &requests.RpcRequest{},
|
||
|
|
}
|
||
|
|
req.UserName = userName
|
||
|
|
req.InitWithApiInfo(HOST, VERSION, "/api/login/getActivityVipUserNewBlacklist")
|
||
|
|
req.Method = requests.POST
|
||
|
|
return req
|
||
|
|
}
|
||
|
|
|
||
|
|
func CreateGetActivityVipUserNewResp() *GetActivityVipUserNewResp {
|
||
|
|
return &GetActivityVipUserNewResp{
|
||
|
|
BaseResponse: &responses.BaseResponse{},
|
||
|
|
}
|
||
|
|
}
|