作者 王智

daima

@@ -307,9 +307,8 @@ class Index extends Api @@ -307,9 +307,8 @@ class Index extends Api
307 if ($param['type'] == 1) { 307 if ($param['type'] == 1) {
308 $map3['is_show'] = ['eq', 1]; 308 $map3['is_show'] = ['eq', 1];
309 } 309 }
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();  
312 - dump($rult); 310 + $rult = Db::name('seller')->where($map3)->where($map)->where($map2)->order('id desc')->page($param['pages'], $param['rows'])->select();
  311 + $count = Db::name('seller')->where($map3)->where($map)->where($map2)->order('id desc')->select();
313 if (empty($rult)) { 312 if (empty($rult)) {
314 //如果为空 313 //如果为空
315 $list = [ 314 $list = [