chuweiqiang 1 年之前
父節點
當前提交
97123453be
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/model/video/Video.php

+ 1 - 1
application/admin/model/video/Video.php

@@ -34,7 +34,7 @@ class Video extends Model
     }
 
     public function file(){
-        return $this->hasMany(VideoFile::class,'video_id','id')->where('is_deleted',1)->order('sort desc,id desc');
+        return $this->hasMany(VideoFile::class,'video_id','id')->where('is_deleted',1)->order('sort desc,id asc');
     }