...
|
...
|
@@ -94,6 +94,22 @@ class WeixinController extends WeChatBaseController{ |
|
|
|
|
|
}
|
|
|
|
|
|
//显示中心设备
|
|
|
public function shebei(){
|
|
|
|
|
|
//查询显示首页logo
|
|
|
$logo = Db::name('slide_item') -> where('slide_id',1) -> find();
|
|
|
$this -> assign('logo',$logo);
|
|
|
|
|
|
$data = Db::name('portal_category_post') -> where('category_id',32) -> 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();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|