...
|
...
|
@@ -329,16 +329,15 @@ class Cms extends Api |
|
|
$archives = array_merge($archives->toArray(), $addon);
|
|
|
$archives['content'] = $content;
|
|
|
$Price=new PriceStatus();
|
|
|
if (!empty($archives['video'])){
|
|
|
$archives['video'] = cdnurl($archives['video']);
|
|
|
$Price->addStatus($user_id,'two');
|
|
|
}else{
|
|
|
$Price->addStatus($user_id,'one');
|
|
|
if (!empty($user_id)){
|
|
|
if (!empty($archives['video'])){
|
|
|
$archives['video'] = cdnurl($archives['video']);
|
|
|
$Price->addStatus($user_id,'two');
|
|
|
}else{
|
|
|
$Price->addStatus($user_id,'one');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
echo 11111;
|
|
|
exit();
|
|
|
|
|
|
//$archives['updatetime_text']=date('Y-m-d',$archives['updatetime']);
|
|
|
|
|
|
$commentList = Comment::getCommentList(['aid' => $archives['id']]);
|
...
|
...
|
|