正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -46,6 +46,7 @@ class ProductController extends HomeBaseController{ | @@ -46,6 +46,7 @@ class ProductController extends HomeBaseController{ | ||
46 | $cpid = Db::name('portal_category_post') -> where('category_id',12) -> find(); | 46 | $cpid = Db::name('portal_category_post') -> where('category_id',12) -> find(); |
47 | $cpdata = Db::name('portal_post') -> where('id',$cpid['post_id']) -> find(); | 47 | $cpdata = Db::name('portal_post') -> where('id',$cpid['post_id']) -> find(); |
48 | $cpdata['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($cpdata['post_content'])); | 48 | $cpdata['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($cpdata['post_content'])); |
49 | + $this -> assign('category',$cpdata['id']); | ||
49 | $this -> assign('zuixin',$cpdata); | 50 | $this -> assign('zuixin',$cpdata); |
50 | 51 | ||
51 | /* $shuju2 = $this -> wuxianx($data); | 52 | /* $shuju2 = $this -> wuxianx($data); |
-
请 注册 或 登录 后发表评论