Exemplo n.º 1
0
 public function show($id)
 {
     $curr['name'] = $this->crumb['show']['name'];
     $curr['url'] = $this->crumb['show']['url'];
     $result = ['data' => ComFuncModel::find($id), 'modules' => ComModuleModel::all(), 'pics' => PicModel::all(), 'model' => $this->model, 'crumb' => $this->crumb, 'curr' => $curr];
     return view('admin.comfunc.show', $result);
 }
Exemplo n.º 2
0
 public function show($id)
 {
     $curr['name'] = $this->lists['show']['name'];
     $curr['url'] = $this->lists['show']['url'];
     $result = ['data' => ComFuncModel::find($id), 'pics' => $this->pics, 'lists' => $this->lists, 'curr' => $curr, 'curr_func' => $this->lists['func']['url']];
     return view('company.admin.firm.show', $result);
 }
Exemplo n.º 3
0
 public function show($id)
 {
     $curr['name'] = $this->lists['show']['name'];
     $curr['url'] = $this->lists['show']['url'];
     $result = ['data' => ComFuncModel::find($id), 'modules' => $this->model->singelModules($this->cid), 'lists' => $this->lists, 'curr' => $curr, 'curr_func' => $this->lists['func']['url']];
     return view('company.admin.single.show', $result);
 }
Exemplo n.º 4
0
 /**
  * 新闻资讯详情
  */
 public function news($cid, $id)
 {
     $company = $this->company($cid, $this->list['func']['url']);
     $result = ['data' => ComFuncModel::find($id), 'comMain' => $this->getComMain($company['cid']), 'topmenus' => $this->topmenus, 'prefix_url' => $this->prefix_url];
     return view('company.about.news', $result);
 }
Exemplo n.º 5
0
 /**
  * 合作伙伴列表
  */
 public function partShow($cid, $id)
 {
     $company = $this->company($cid, $this->list['func']['url']);
     $result = ['datas' => ComFuncModel::find($id), 'topmenus' => $this->topmenus];
     return view('company.home.partShow', $result);
 }