|
|
@@ -26,6 +26,31 @@ type CentralControlConf struct {
|
|
|
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"
|
|
|
}
|