作者 lyh

gx

@@ -31,7 +31,7 @@ class EnterpriseProductController extends BaseController @@ -31,7 +31,7 @@ class EnterpriseProductController extends BaseController
31 */ 31 */
32 public function getEnterProduct(EnterpriseProduct $enterpriseProduct){ 32 public function getEnterProduct(EnterpriseProduct $enterpriseProduct){
33 $this->map['project_id'] = $this->user['project_id']; 33 $this->map['project_id'] = $this->user['project_id'];
34 - $data = $enterpriseProduct->list($this->map,$this->page,$this->row); 34 + $data = $enterpriseProduct->lists($this->map,$this->page,$this->row);
35 $this->response('success',Code::SUCCESS,$data); 35 $this->response('success',Code::SUCCESS,$data);
36 } 36 }
37 } 37 }