|
...
|
...
|
@@ -166,11 +166,8 @@ class SyncProject extends Command |
|
|
|
];
|
|
|
|
$data['deploy_build']['plan'] = $this->versionData($param['plan_marketing'] ?? '');
|
|
|
|
$data['deploy_build']['seo_plan'] = $this->versionSeoData($param['geo_plan'] ?? '');
|
|
|
|
if(!empty($data['deploy_build']['plan'])){
|
|
|
|
$data['deploy_build']['service_duration'] = $param['years'] ?? 0;
|
|
|
|
}else{
|
|
|
|
$data['deploy_build']['seo_service_duration'] = $param['years'] ?? 0;
|
|
|
|
}
|
|
|
|
$data['deploy_build']['service_duration'] = $param['years'] ?? 0;
|
|
|
|
$data['deploy_build']['seo_service_duration'] = $param['geo_plan_day'] ?? 0;
|
|
|
|
$renewModel = new ProjectRenew();
|
|
|
|
$rs = $renewModel->add($data);
|
|
|
|
if($rs === false){
|
|
...
|
...
|
@@ -256,11 +253,8 @@ class SyncProject extends Command |
|
|
|
];
|
|
|
|
$data['deploy_build']['plan'] = $this->versionData($param['plan_marketing'] ?? '');
|
|
|
|
$data['deploy_build']['seo_plan'] = $this->versionSeoData($param['geo_plan'] ?? '');
|
|
|
|
if(!empty($data['deploy_build']['plan'])){
|
|
|
|
$data['deploy_build']['service_duration'] = $param['years'] ?? 0;
|
|
|
|
}else{
|
|
|
|
$data['deploy_build']['seo_service_duration'] = $param['years'] ?? 0;
|
|
|
|
}
|
|
|
|
$data['deploy_build']['service_duration'] = $param['years'] ?? 0;
|
|
|
|
$data['deploy_build']['seo_service_duration'] = $param['geo_plan_day'] ?? 0;
|
|
|
|
DB::beginTransaction();
|
|
|
|
try {
|
|
|
|
if(isset($data['deploy_build']['plan']) && in_array($data['deploy_build']['plan'],[4,5,15,16,17])){
|
...
|
...
|
|