增加ch作者介绍链接逻辑

master
黄文强@HWQ-PC 12 months ago
parent 81219c12a9
commit 6fd63be9f8

@ -1047,6 +1047,7 @@ class Information extends CI_Controller
$author = $this->Operator_model->get_author_nikename($information->ic_author); $author = $this->Operator_model->get_author_nikename($information->ic_author);
if (!empty($author)) { if (!empty($author)) {
$data_H1['author'] = $author->OPI_FirstName; $data_H1['author'] = $author->OPI_FirstName;
$data_H1['OPI_Code'] = $author->OPI_Code;
} else { } else {
$author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等 $author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等
if (!empty($author_web)) { if (!empty($author_web)) {

Loading…
Cancel
Save