|
@@ -13,15 +13,15 @@ type GameShieldBackendRequest struct {
|
|
|
SdkIp string `json:"sdk_ip" form:"sdk_ip"`
|
|
|
Type string `json:"type" form:"type"`
|
|
|
MaxBandwidth string `json:"max_bandwidth" form:"max_bandwidth"`
|
|
|
+ Checked string `json:"checked" form:"checked"`
|
|
|
CreatedAt time.Time `json:"created_at" form:"created_at"`
|
|
|
UpdatedAt time.Time `json:"updated_at" form:"updated_at"`
|
|
|
}
|
|
|
|
|
|
type GameShieldBackendArrayRequest struct {
|
|
|
- Items []GameShieldBackendRequest `json:"items" form:"items"`
|
|
|
- Uid int `json:"uid" form:"uid" binding:"required"`
|
|
|
- Checked int `json:"checked" form:"checked"`
|
|
|
- HostId int `json:"host_id" form:"host_id" binding:"required"`
|
|
|
+ Items []GameShieldBackendRequest `json:"items" form:"items"`
|
|
|
+ Uid int `json:"uid" form:"uid" binding:"required"`
|
|
|
+ HostId int `json:"host_id" form:"host_id" binding:"required"`
|
|
|
}
|
|
|
|
|
|
type SendGameShieldBackend struct {
|