...
|
...
|
@@ -307,8 +307,8 @@ class Index extends Api |
|
|
if ($param['type'] == 1) {
|
|
|
$map3['is_show'] = ['eq', 1];
|
|
|
}
|
|
|
$rult = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight asc')->page($param['pages'], $param['rows'])->select();
|
|
|
$count = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight asc')->select();
|
|
|
$rult = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight desc')->page($param['pages'], $param['rows'])->select();
|
|
|
$count = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight desc')->select();
|
|
|
dump($rult);
|
|
|
if (empty($rult)) {
|
|
|
//如果为空
|
...
|
...
|
|