...
|
...
|
@@ -78,7 +78,21 @@ class WeixinController extends WeChatBaseController{ |
|
|
|
|
|
}
|
|
|
|
|
|
//显示中心设施
|
|
|
public function sheshi(){
|
|
|
|
|
|
//查询显示首页logo
|
|
|
$logo = Db::name('slide_item') -> where('slide_id',1) -> find();
|
|
|
$this -> assign('logo',$logo);
|
|
|
|
|
|
$data = Db::name('portal_category_post') -> where('category_id',31) -> find();
|
|
|
$res = Db::name('portal_post') -> where('id',$data['post_id']) -> find();
|
|
|
$res['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($res['post_content']));
|
|
|
$this -> assign('res',$res);
|
|
|
|
|
|
return $this -> fetch();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|