Documentation ¶
Index ¶
- type AddAdminUser
- type Base
- type BasePageReq
- type BaseReq
- type DelAdminUser
- type ListChatGroup
- type ListGroupUser
- type ListMoneyRec
- type ListMoneyType
- type ListOddsType
- type ListOpenK3
- type ListOrder
- type ListTgUser
- type Login
- type RefreshMenu
- type SetAdminUserPwd
- type SetAdminUserRole
- type SetAdminUserStatus
- type SetGroupAdmin
- type SetGroupOdds
- type TimeRange
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAdminUser ¶
type BasePageReq ¶
type DelAdminUser ¶
type ListChatGroup ¶
type ListChatGroup struct { BasePageReq `validate:"valid(T)"` Search string `form:"search"` }
type ListGroupUser ¶
type ListGroupUser struct { BasePageReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lt(0,invalid group id)"` Search string `form:"search"` }
type ListMoneyRec ¶
type ListMoneyRec struct { BasePageReq `validate:"valid(T)"` MoneyType int `form:"money_type" validate:"gte(0,invalid money type)"` TgUserId int64 `form:"tg_user_id" validate:"gte(0,invalid tg user id)"` }
func (*ListMoneyRec) Check ¶
func (self *ListMoneyRec) Check() error
type ListMoneyType ¶
type ListMoneyType struct {
BaseReq `validate:"valid(T)"`
}
type ListOddsType ¶
type ListOddsType struct {
BaseReq `validate:"valid(T)"`
}
type ListOpenK3 ¶
type ListOpenK3 struct { BasePageReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lte(0,invalid group id)"` }
type ListOrder ¶
type ListOrder struct { BasePageReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lte(0,invalid group id)"` TgUserId int64 `form:"tg_user_id" validate:"gte(0,invalid tg user id)"` }
type ListTgUser ¶
type ListTgUser struct { BasePageReq `validate:"valid(T)"` Search string `form:"search"` }
type RefreshMenu ¶
type RefreshMenu struct {
BaseReq `validate:"valid(T)"`
}
type SetAdminUserPwd ¶
type SetAdminUserRole ¶
type SetAdminUserStatus ¶
type SetGroupAdmin ¶
type SetGroupOdds ¶
type SetGroupOdds struct { BaseReq `validate:"valid(T)"` GroupId int64 `form:"group_id" validate:"lt(0,invalid group id)"` SetOdds string `form:"set_odds" validate:"minlen(1,empty odds setting)"` MapOdds map[string]float64 `form:"-"` }
func (*SetGroupOdds) Check ¶
func (self *SetGroupOdds) Check() error
Click to show internal directories.
Click to hide internal directories.