正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -171,7 +171,7 @@ class Business extends Base | @@ -171,7 +171,7 @@ class Business extends Base | ||
171 | ->join('user e','c.user_id=e.id') | 171 | ->join('user e','c.user_id=e.id') |
172 | ->whereOr($wheres) | 172 | ->whereOr($wheres) |
173 | ->where($where) | 173 | ->where($where) |
174 | - ->order("id","AESC") | 174 | + ->order("id","DESC") |
175 | ->paginate($total, false, ['page' => $page]) | 175 | ->paginate($total, false, ['page' => $page]) |
176 | ->toArray(); | 176 | ->toArray(); |
177 | $this->success('查询成功',$cancel); | 177 | $this->success('查询成功',$cancel); |
@@ -26,7 +26,7 @@ class Client extends Base | @@ -26,7 +26,7 @@ class Client extends Base | ||
26 | $res=$this->request->header(); | 26 | $res=$this->request->header(); |
27 | 27 | ||
28 | parent::_initialize(); | 28 | parent::_initialize(); |
29 | - //$this->auth->id=19;//测试用 | 29 | + $this->auth->id=19;//测试用 |
30 | $postParam = $this->request->param(); | 30 | $postParam = $this->request->param(); |
31 | $this->postParam = $postParam; | 31 | $this->postParam = $postParam; |
32 | if (empty($postParam['store_id'])) { | 32 | if (empty($postParam['store_id'])) { |
-
请 注册 或 登录 后发表评论