| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- package task
- import "log-server/model/typeManage"
- type CentralControlConf struct {
- Id int `json:"id"`
- 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"` //'付费单价',
- CreateTime typeManage.LocalTime `json:"create_time"`
- UpdateTime typeManage.LocalTime `json:"update_time"`
- }
- type CentralControlTaskConf struct {
- Id int `json:"id"`
- TaskName string `json:"task_name"` //任务名称
- 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"` //'付费单价',
- CreateTime typeManage.LocalTime `json:"create_time"`
- UpdateTime typeManage.LocalTime `json:"update_time"`
- }
- func (CentralControlConf) TableName() string {
- return "central_control_conf"
- }
|