...
|
...
|
@@ -350,6 +350,7 @@ class Cms extends Api |
|
|
$channel = $channel->toArray();
|
|
|
$channel['url'] = $channel['fullurl'];
|
|
|
|
|
|
if (!empty($user_id)){
|
|
|
$map_log['user_id']=$user_id;
|
|
|
$map_log['article_id']=$article_id;
|
|
|
$log=CmsLikeLog::get($map_log);
|
...
|
...
|
@@ -360,6 +361,8 @@ class Cms extends Api |
|
|
}
|
|
|
$archives['read_score']=$get_score;
|
|
|
unset($channel['channeltpl'], $channel['listtpl'], $channel['showtpl'], $channel['status'], $channel['weigh'], $channel['parent_id']);
|
|
|
}
|
|
|
|
|
|
$this->success('', ['archivesInfo' => $archives,'commentList' => $commentList]);
|
|
|
}
|
|
|
|
...
|
...
|
|