作者 王智

daima

@@ -309,7 +309,9 @@ class Index extends Api @@ -309,7 +309,9 @@ class Index extends Api
309 } 309 }
310 $rult = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight desc')->page($param['pages'], $param['rows'])->select(); 310 $rult = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight desc')->page($param['pages'], $param['rows'])->select();
311 $count = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight desc')->select(); 311 $count = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight desc')->select();
312 - if (empty($rult)) { 312 +
  313 + dump($rult);
  314 + die;if (empty($rult)) {
313 //如果为空 315 //如果为空
314 $list = [ 316 $list = [
315 'count' => 0, 317 'count' => 0,