...
|
...
|
@@ -103,9 +103,6 @@ class AdminArticleController extends AdminBaseController |
|
|
}
|
|
|
|
|
|
$portalPostModel = new PortalPostModel();
|
|
|
/*
|
|
|
添加圈子文章
|
|
|
*/
|
|
|
|
|
|
if (!empty($data['photo_names']) && !empty($data['photo_urls'])) {
|
|
|
$data['post']['more']['photos'] = [];
|
...
|
...
|
@@ -127,7 +124,10 @@ class AdminArticleController extends AdminBaseController |
|
|
|
|
|
$data['post']['id'] = $portalPostModel->id;
|
|
|
if (!empty($post['group'])) {
|
|
|
$portalPostModel->addPortalGroup($data['id'], $post['group']);
|
|
|
/*
|
|
|
添加圈子文章
|
|
|
*/
|
|
|
$portalPostModel->addPortalGroup($data['post']['id'], $post['group']);
|
|
|
}
|
|
|
$hookParam = [
|
|
|
'is_add' => true,
|
...
|
...
|
|