作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

测试反馈修改

... ... @@ -26,7 +26,7 @@ class ActiveController extends WeChatBaseController
public function active(){
$banner=Db::name('active')->where('is_top',1)->field('thumbnail,id')->select();
$this->assign('banner',$banner);
$data=Db::name('active')->where(['status'=>1,'category_id'=>1])->select();
$data=Db::name('active')->where(['status'=>1,'category_id'=>1])->order('is_top','desc')->select();
$this->assign('list',$data);
return $this->fetch();
}
... ...