| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- package newCentralControl
- import "log-server/model/typeManage"
- type GameConf struct {
- Id int `json:"id"`
- ConfName string `json:"conf_name"` //配置名
- WindowsNumber int `json:"windows_number"` //窗口数
- Mirror string `json:"mirror"` //镜像
- Script string `json:"script"` //脚本
- CloneMode int `json:"clone_mode"` //克隆模式
- SimulatorType int `json:"simulator_type"` //模拟器类型
- Resolution string `json:"resolution"` //分辨率
- Zoom string `json:"zoom"` //缩放
- Timeout int `json:"timeout"` //超时时间
- Cpu int `json:"cpu"` //cpu
- MemorySize int `json:"memory_size"` //内存
- TaskId int `json:"task_id"` //任务id
- GameId int `json:"game_id"` //游戏id
- Priority string `json:"priority"` //优先级
- GameType int `json:"game_type"` //任务类型
- TxChannel string `json:"tx_channel"` //'腾讯渠道号',
- TxGameId string `json:"tx_game_id"` //'腾讯游戏id',
- MzChannel string `json:"mz_channel"` //'魅族渠道号',
- MzGameId string `json:"mz_game_id"` //'魅族游戏id',
- PayPrice int `json:"pay_price"` //'付费单价',
- MirrorUpdate string `json:"mirror_update"` //镜像是否更新
- ScriptUpdate string `json:"script_update"` //脚本是否更新
- TaskAccount int `json:"task_account"` //任务下发账号类型,-1:只做新增,0:没有要求.1:只做留存
- Md5Verify string `json:"md5_verify"` //md5校验
- PayQuit string `json:"pay_quit"` //做完付费就退
- ProxyType int `json:"proxy_type"` //代理类型,1多开王 2无忧ip
- CreateTime typeManage.LocalTime `json:"create_time"`
- UpdateTime typeManage.LocalTime `json:"update_time"`
- }
- func (GameConf) TableName() string {
- return "game_conf"
- }
|