增强和平小店账号管理
This commit is contained in:
@@ -24,6 +24,32 @@ type XiaodianProductListOptions struct {
|
||||
PageSize int
|
||||
}
|
||||
|
||||
// XiaodianRole 是和平小店当前绑定的游戏角色信息。
|
||||
type XiaodianRole struct {
|
||||
Success bool `json:"success"`
|
||||
RoleID string `json:"roleId,omitempty"`
|
||||
RoleName string `json:"roleName,omitempty"`
|
||||
OpenID string `json:"openId,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
PlatID int `json:"platId,omitempty"`
|
||||
AreaID int `json:"areaId,omitempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// XiaodianRoleResult 是批量查询和平小店角色的结果。
|
||||
type XiaodianRoleResult struct {
|
||||
Results map[string]XiaodianRole `json:"results"`
|
||||
}
|
||||
|
||||
// XiaodianBindQRCode 是和平小店绑定二维码结果。
|
||||
type XiaodianBindQRCode struct {
|
||||
Success bool `json:"success"`
|
||||
AccountName string `json:"accountName,omitempty"`
|
||||
URL string `json:"url,omitempty"`
|
||||
GameRoleBindURL string `json:"gameRoleBindUrl,omitempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// ActivityInfo 活动概要,供前端下拉选择使用。
|
||||
type ActivityInfo struct {
|
||||
ID string `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user