正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -58,7 +58,7 @@ class ProductController extends BaseController | @@ -58,7 +58,7 @@ class ProductController extends BaseController | ||
| 58 | $sort = ['id' => 'desc']; | 58 | $sort = ['id' => 'desc']; |
| 59 | $data = DB::table('gl_product')->where(['project_id'=>$this->user['project_id']])->paginate($this->row); | 59 | $data = DB::table('gl_product')->where(['project_id'=>$this->user['project_id']])->paginate($this->row); |
| 60 | // $data = $logic->getList($map, $sort, ['id', 'project_id', 'title', 'thumb', 'product_type' , 'route' ,'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'],$this->row); | 60 | // $data = $logic->getList($map, $sort, ['id', 'project_id', 'title', 'thumb', 'product_type' , 'route' ,'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'],$this->row); |
| 61 | - return $this->success($data); | 61 | + return $this->response('success',Code::SUCCESS,$data); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public function info(Request $request, ProductLogic $logic){ | 64 | public function info(Request $request, ProductLogic $logic){ |
-
请 注册 或 登录 后发表评论