作者 anyv
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);