|
...
|
...
|
@@ -140,6 +140,8 @@ class NewsLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function newsInfo(){
|
|
|
|
$info = $this->model->read($this->param);
|
|
|
|
$info['url'] = $this->user['domain'] . $info['url'];
|
|
|
|
$info['image_link'] = getImageUrl($info['image']);
|
|
|
|
$newsCategoryLogic = new NewsCategoryLogic();
|
|
|
|
$info = $newsCategoryLogic->get_category_name($info);
|
|
|
|
return $this->success($info);
|
...
|
...
|
|