合并分支 'lyh-server' 到 'master'
gx数据 查看合并请求 !1455
正在显示
3 个修改的文件
包含
3 行增加
和
9 行删除
| @@ -90,7 +90,7 @@ class CopyProject extends Command | @@ -90,7 +90,7 @@ class CopyProject extends Command | ||
| 90 | $data['finish_remain_day'] = 0; | 90 | $data['finish_remain_day'] = 0; |
| 91 | $data['title'] = $data['title'].'-copy'; | 91 | $data['title'] = $data['title'].'-copy'; |
| 92 | $data['delete_status'] = 1; | 92 | $data['delete_status'] = 1; |
| 93 | - unset($data['id'],$data['robots'],$data['is_translate_tag'],$data['is_translate'],$data['is_minor_languages'],$data['uptime']); | 93 | + unset($data['id'],$data['exclusive_aicc_day'],$data['aicc'],$data['robots'],$data['is_translate_tag'],$data['is_translate'],$data['is_minor_languages'],$data['uptime']); |
| 94 | $project_id = $projectModel->insertGetId($data); | 94 | $project_id = $projectModel->insertGetId($data); |
| 95 | $hashids = new Hashids($data['from_order_id'], 13, 'abcdefghjkmnpqrstuvwxyz1234567890'); | 95 | $hashids = new Hashids($data['from_order_id'], 13, 'abcdefghjkmnpqrstuvwxyz1234567890'); |
| 96 | $projectModel->edit(['from_order_id'=>$hashids->encode($project_id)],['id'=>$project_id]); | 96 | $projectModel->edit(['from_order_id'=>$hashids->encode($project_id)],['id'=>$project_id]); |
| @@ -200,7 +200,7 @@ class SyncProject extends Command | @@ -200,7 +200,7 @@ class SyncProject extends Command | ||
| 200 | 'requirement' => $param['remark'], | 200 | 'requirement' => $param['remark'], |
| 201 | 'cooperate_date' => date('Y-m-d', $param['create_time']), | 201 | 'cooperate_date' => date('Y-m-d', $param['create_time']), |
| 202 | 'from_order_id' => $param['from_order_id'], | 202 | 'from_order_id' => $param['from_order_id'], |
| 203 | - 'aicc' => $param['exclusive_aicc'], | 203 | + 'aicc' => ($param['exclusive_aicc'] = 0), |
| 204 | "exclusive_aicc_day" => $param['exclusive_aicc_day'], | 204 | "exclusive_aicc_day" => $param['exclusive_aicc_day'], |
| 205 | 'hagro' => $param['exclusive_hagro'], | 205 | 'hagro' => $param['exclusive_hagro'], |
| 206 | "exclusive_hagro_day" => $param['exclusive_hagro_day'], | 206 | "exclusive_hagro_day" => $param['exclusive_hagro_day'], |
| @@ -11,13 +11,7 @@ class DeployOptimize extends Base | @@ -11,13 +11,7 @@ class DeployOptimize extends Base | ||
| 11 | //设置关联表名 | 11 | //设置关联表名 |
| 12 | protected $table = 'gl_project_deploy_optimize'; | 12 | protected $table = 'gl_project_deploy_optimize'; |
| 13 | 13 | ||
| 14 | -// public function setMinorLanguagesAttribute($value){ | ||
| 15 | -// $this->attributes['minor_languages'] = Arr::a2s($value); | ||
| 16 | -// } | ||
| 17 | -// | ||
| 18 | -// public function getMinorLanguagesAttribute($value){ | ||
| 19 | -// return Arr::s2a($value); | ||
| 20 | -// } | 14 | + |
| 21 | public function getGTopPlanAttribute($value){ | 15 | public function getGTopPlanAttribute($value){ |
| 22 | return Arr::s2a($value); | 16 | return Arr::s2a($value); |
| 23 | } | 17 | } |
-
请 注册 或 登录 后发表评论