getProduct

$data=$this->query('SELECT * FROM products WHERE cate_id='.$c_id);
getProduct
change view to viewPro  in RestProductsController
change view