|
@@ -24,7 +24,7 @@ class StarNewsRepository
|
|
|
->where('id',$request['id'])->orderBy('id', 'desc')->first();
|
|
|
}
|
|
|
$this->starNews = $this->starNews
|
|
|
- ->orderBy('id', 'desc')->get();
|
|
|
+ ->where('status',1)->orderBy('sort', 'asc')->get();
|
|
|
|
|
|
return $this->starNews;
|
|
|
}
|