panlumeng 3 年 前
コミット
90a2ea4cf2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      application/Home/controller/Vdlist.php

+ 1 - 1
application/Home/controller/Vdlist.php

@@ -21,7 +21,7 @@ class Vdlist extends Base
         //var_dump(Db::name("rela_video")->getLastSql());
         $total = ceil($count/$size);
         $page = $page>$total?$total:$page;
-        $list = Db::name("rela_video")->alias('a')->join("video b","a.video_id=b.id","left")->where($where)->page($page,$size)->field("b.id,b.video_sn,b.video_name,b.video_url,b.video_img,b.remark")->order("b.weight desc")->select();
+        $list = Db::name("rela_video")->alias('a')->join("video b","a.video_id=b.id","left")->where($where)->page($page,$size)->field("b.id,b.video_sn,b.video_name,b.video_url,b.video_img,b.remark")->select();
         return app_show(0,"视频列表获取成功",["list"=>$list,"count"=>$count]);
 
     }