1
This commit is contained in:
@@ -203,7 +203,13 @@ class Article extends Controller {
|
||||
if($article_info['html_type']!=2){
|
||||
return jsonError("type error");
|
||||
}
|
||||
$re['mains'] = getArticleMainsFor2($data['article_id']);
|
||||
|
||||
$ree = getArticleMainsFor2($data['article_id']);
|
||||
if($ree==[]){
|
||||
return jsonError("not find");
|
||||
}
|
||||
|
||||
$re['mains'] = $ree;
|
||||
$re['refers'] = getArticleRefers($data['article_id']);
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user