|
...
|
...
|
@@ -32,6 +32,9 @@ class NewsCategoryLogic extends BaseLogic |
|
|
|
public function info_news_category(){
|
|
|
|
$info = $this->model->read($this->param);
|
|
|
|
$info['url'] = $this->user['domain'] . $info['alias'];
|
|
|
|
if(!empty($info['banner_image'])){
|
|
|
|
$info['banner_image_link'] = getImageUrl($info['banner_image'],$this->user['storage_type'] ?? 0,$this->user['project_location']);
|
|
|
|
}
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|