正在显示
2 个修改的文件
包含
6 行增加
和
1 行删除
| @@ -188,4 +188,9 @@ class ComController extends BaseController | @@ -188,4 +188,9 @@ class ComController extends BaseController | ||
| 188 | $this->response('success',Code::SUCCESS,$str); | 188 | $this->response('success',Code::SUCCESS,$str); |
| 189 | } | 189 | } |
| 190 | 190 | ||
| 191 | + public function ceshi(){ | ||
| 192 | + $data = ''; | ||
| 193 | + $data = json_decode(); | ||
| 194 | + } | ||
| 195 | + | ||
| 191 | } | 196 | } |
| @@ -25,7 +25,7 @@ class CategoryController extends BaseController | @@ -25,7 +25,7 @@ class CategoryController extends BaseController | ||
| 25 | $map[] = ['title', 'like', "%{$this->param['search']}%"]; | 25 | $map[] = ['title', 'like', "%{$this->param['search']}%"]; |
| 26 | } | 26 | } |
| 27 | $sort = ['id' => 'desc']; | 27 | $sort = ['id' => 'desc']; |
| 28 | - $data = $logic->getList($map, $sort, ['id', 'project_id', 'pid', 'title', 'image', 'keywords', 'describe', 'status','created_at'],0); | 28 | + $data = $logic->getList($map, $sort, ['id', 'project_id', 'pid', 'title', 'image', 'keywords', 'describe', 'status','created_at'],$this->row); |
| 29 | return $this->success($data); | 29 | return $this->success($data); |
| 30 | } | 30 | } |
| 31 | 31 |
-
请 注册 或 登录 后发表评论