正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -307,8 +307,8 @@ class Index extends Api | @@ -307,8 +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 asc')->page($param['pages'], $param['rows'])->select(); | ||
311 | - $count = Db::name('seller')->where($map3)->where($map)->where($map2)->order('weight asc')->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(); | ||
312 | dump($rult); | 312 | dump($rult); |
313 | if (empty($rult)) { | 313 | if (empty($rult)) { |
314 | //如果为空 | 314 | //如果为空 |
-
请 注册 或 登录 后发表评论