コード例 #1
0
 public function show($id)
 {
     if (!session('profile')) {
         return \Redirect::to('/meli/login');
     }
     $product = \Meli::options('/items/' . $id, ['access_token' => session('access_token')]);
     $this->_result = $product['body'];
     //echo '<pre>';
     //var_dump($this->_result);die;
     return view('mercadolibre::admin.questions.details')->with('product', $this->_result);
 }