作者 王智

daima

... ... @@ -309,7 +309,9 @@ class Index extends Api
}
$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();
if (empty($rult)) {
dump($rult);
die;if (empty($rult)) {
//如果为空
$list = [
'count' => 0,
... ...