Commit 737fcd1e authored by sugar's avatar sugar

Merge branch 'dev' of http://rungit.jxdsy.cn:10000/sugar/introducer into dev

parents 05e01093 4021fd1f
......@@ -23,11 +23,11 @@ class Goods extends Api
$page = $this->request->param('page', 1);
$skeyword = $this->request->param('skeyword', '');
$map['closed']=0;
$map['activity_list']=null;
//$map['activity_list']=null;
if (!empty($skeyword)) {
$map['title|intro'] = array('LIKE', '%' . $skeyword . '%');
}
$list=GoodsModel::where($map)->order("orderby desc")->limit($this->pageSize)->page($page)->select();
$list=GoodsModel::where($map)->where('!FIND_IN_SET(2,activity_list)')->order("orderby desc")->limit($this->pageSize)->page($page)->select();
return $this->success("",['banner'=>$banner,'list'=>$list]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment