...
|
...
|
@@ -11,6 +11,7 @@ |
|
|
namespace api\home\controller;
|
|
|
|
|
|
use cmf\controller\RestBaseController;
|
|
|
use app\portal\model\PortalPostModel;
|
|
|
/**
|
|
|
* @title 公司介绍
|
|
|
*/
|
...
|
...
|
@@ -43,6 +44,8 @@ class AboutController extends RestBaseController |
|
|
$field_about = 'id,thumbnail,detail,video';
|
|
|
}
|
|
|
$detail_about = CommonController::findData('about',['id'=>1],$field_about);
|
|
|
$contentModel = new PortalPostModel();
|
|
|
$detail_about['detail'] = $contentModel->getPostContentAttr($detail_about['detail']);
|
|
|
$this->success('成功',$detail_about);
|
|
|
}
|
|
|
} |
...
|
...
|
|