作者 lyh

gx

... ... @@ -58,7 +58,7 @@ class ProductController extends BaseController
$sort = ['id' => 'desc'];
$data = DB::table('gl_product')->where(['project_id'=>$this->user['project_id']])->paginate($this->row);
// $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);
return $this->success($data);
return $this->response('success',Code::SUCCESS,$data);
}
public function info(Request $request, ProductLogic $logic){
... ...