|
@@ -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]);
|
|
|
|
|
|
}
|