|
@@ -54,12 +54,12 @@ class ProjectUpdateTdk extends Base |
|
@@ -54,12 +54,12 @@ class ProjectUpdateTdk extends Base |
|
54
|
$project_id = Redis::rpop('updateSeoTdk');
|
54
|
$project_id = Redis::rpop('updateSeoTdk');
|
|
55
|
$data = [];
|
55
|
$data = [];
|
|
56
|
if($project_id){
|
56
|
if($project_id){
|
|
57
|
- $data = self::where('status', self::STATUS_PENDING)->where('project_id', $project_id)->orderBy('id', 'asc')->first();
|
57
|
+ $data = self::select(['id','project_id'])->where('status', self::STATUS_PENDING)->where('project_id', $project_id)->orderBy('id', 'asc')->first();
|
|
58
|
}
|
58
|
}
|
|
59
|
if($data){
|
59
|
if($data){
|
|
60
|
return $data;
|
60
|
return $data;
|
|
61
|
}
|
61
|
}
|
|
62
|
- return self::where('status', self::STATUS_PENDING)->orderBy('id', 'asc')->first();
|
62
|
+ return self::select(['id','project_id'])->where('status', self::STATUS_PENDING)->orderBy('id', 'asc')->first();
|
|
63
|
}
|
63
|
}
|
|
64
|
|
64
|
|
|
65
|
/**
|
65
|
/**
|