public function show($id) { $curr['name'] = $this->lists['show']['name']; $curr['url'] = $this->lists['show']['url']; $result = ['data' => RentModel::find($id), 'lists' => $this->lists, 'curr' => $curr]; return view('member.rent.show', $result); }
public function show($id) { $curr['name'] = $this->crumb['show']['name']; $curr['url'] = $this->crumb['show']['url']; $result = ['data' => RentModel::find($id), 'crumb' => $this->crumb, 'curr' => $curr]; return view('admin.rent.show', $result); }
public function show($id) { $submenu['url'] = 'show'; $submenu['name'] = '详情'; $data = RentModel::find($id); $result = ['lists' => $this->list, 'data' => $data, 'curr_menu' => $this->curr, 'curr_submenu' => $submenu, 'uid' => $data->uid]; return view('home.rent.show', $result); }