|
...
|
...
|
@@ -61,7 +61,7 @@ class BlogLogic extends BaseLogic |
|
|
|
* @time :2023/12/25 9:27
|
|
|
|
*/
|
|
|
|
public function setNewsSort(){
|
|
|
|
$info = $this->model->select(['id','sort'])->orderBy('sort','desc')->first();
|
|
|
|
$info = $this->model->orderBy('sort','desc')->first();
|
|
|
|
if(empty($info)){
|
|
|
|
return 1;
|
|
|
|
}
|
...
|
...
|
|