作者 lyh

gx导入项目脚本

@@ -961,14 +961,10 @@ class ProjectController extends BaseController @@ -961,14 +961,10 @@ class ProjectController extends BaseController
961 'id'=>'required', 961 'id'=>'required',
962 'aicc'=>'required', 962 'aicc'=>'required',
963 'hagro'=>'required', 963 'hagro'=>'required',
964 -// 'exclusive_aicc_day'=>'required',  
965 -// 'exclusive_hagro_day'=>'required',  
966 ],[ 964 ],[
967 'id.required' => 'id不能为空', 965 'id.required' => 'id不能为空',
968 'aicc.required' => 'aicc是否开启不能为空', 966 'aicc.required' => 'aicc是否开启不能为空',
969 'hagro.required' => 'hagro是否开启不能为空', 967 'hagro.required' => 'hagro是否开启不能为空',
970 -// 'exclusive_aicc_day.required' => '服务天数不能为空',  
971 -// 'exclusive_hagro_day.required' => '服务天数不能为空',  
972 ]); 968 ]);
973 $logic->saveOtherProject(); 969 $logic->saveOtherProject();
974 $this->response('success'); 970 $this->response('success');
@@ -101,6 +101,7 @@ class RankDataLogic extends BaseLogic @@ -101,6 +101,7 @@ class RankDataLogic extends BaseLogic
101 'keyword_num' => $project['deploy_build']['keyword_num'], 101 'keyword_num' => $project['deploy_build']['keyword_num'],
102 'compliance_day' => $project['finish_remain_day'] ?? 0, 102 'compliance_day' => $project['finish_remain_day'] ?? 0,
103 'remain_day' => $project['remain_day'], 103 'remain_day' => $project['remain_day'],
  104 + 'seo_remain_day' => $project['seo_remain_day'],
104 'g_top_plan' => $g_top_plan ?? [], 105 'g_top_plan' => $g_top_plan ?? [],
105 ]; 106 ];
106 //小语种列表 107 //小语种列表