正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -32,6 +32,9 @@ class NewsCategoryLogic extends BaseLogic | @@ -32,6 +32,9 @@ class NewsCategoryLogic extends BaseLogic | ||
| 32 | public function info_news_category(){ | 32 | public function info_news_category(){ |
| 33 | $info = $this->model->read($this->param); | 33 | $info = $this->model->read($this->param); |
| 34 | $info['url'] = $this->user['domain'] . $info['alias']; | 34 | $info['url'] = $this->user['domain'] . $info['alias']; |
| 35 | + if(!empty($info['banner_image'])){ | ||
| 36 | + $info['banner_image_link'] = getImageUrl($info['banner_image'],$this->user['storage_type'] ?? 0,$this->user['project_location']); | ||
| 37 | + } | ||
| 35 | return $this->success($info); | 38 | return $this->success($info); |
| 36 | } | 39 | } |
| 37 | 40 |
-
请 注册 或 登录 后发表评论