...
|
...
|
@@ -124,8 +124,8 @@ class ProductController extends HomeBaseController{ |
|
|
public function danwz(){
|
|
|
|
|
|
$id = input('post.id');
|
|
|
$shuju = Db::name('portal_category_post') -> where('category_id') ->find();
|
|
|
dump($shuju);die;
|
|
|
$shuju = Db::name('portal_category_post') -> where('category_id',$id) ->find();
|
|
|
|
|
|
$data = Db::name('portal_post') -> where('id',$shuju['post_id']) -> find();
|
|
|
$data['post_content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['post_content']));
|
|
|
|
...
|
...
|
|