|
...
|
...
|
@@ -231,8 +231,11 @@ class SyncProject extends Command |
|
|
|
$this->createUser($data['project']['mobile'],$id,$data['project']['lead_name']);
|
|
|
|
//新增数据抓取任务
|
|
|
|
$task_list = [];
|
|
|
|
if(!in_array('category_news',$param['api_type'])){
|
|
|
|
array_push($param['api_type'],'category_news');
|
|
|
|
}
|
|
|
|
foreach ($param['api_type'] as $v_type){
|
|
|
|
if($v_type == 'category'){
|
|
|
|
if($v_type == 'category' || $v_type == 'category_news'){
|
|
|
|
UpdateLog::createLog($id,$v_type,$param['get_data_url']);
|
|
|
|
}else{
|
|
|
|
$task_list[] = $v_type;
|
...
|
...
|
|