...
|
...
|
@@ -175,9 +175,12 @@ class ProductController extends HomeBaseController{ |
|
|
|
|
|
|
|
|
$id = input('post.id');
|
|
|
dump($id);die;
|
|
|
$data = Db::name('docu_coa') -> where('id',$id) -> find();
|
|
|
$data['content'] = cmf_replace_content_file_url(htmlspecialchars_decode($data['content']));
|
|
|
|
|
|
$data = Db::name('docu_coa') -> where('post_id',$id) -> select();
|
|
|
foreach ($data as $key => $value) {
|
|
|
$value['content'] = cmf_replace_content_file_url(htmlspecialchars_decode($value['content']));
|
|
|
}
|
|
|
dump($data);die;
|
|
|
|
|
|
return json_encode($data);
|
|
|
|
...
|
...
|
|