正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
| @@ -32,13 +32,13 @@ class NewsController extends BaseController | @@ -32,13 +32,13 @@ class NewsController extends BaseController | ||
| 32 | if(!empty($v['category_id'])){ | 32 | if(!empty($v['category_id'])){ |
| 33 | $v = $newsCategoryLogic->get_category_name($v); | 33 | $v = $newsCategoryLogic->get_category_name($v); |
| 34 | } | 34 | } |
| 35 | - $v['url'] = $this->user['domain'] . RouteMap::getRoute(RouteMap::SOURCE_NEWS, $v['id'], $this->user['project_id']); | ||
| 36 | - if(!empty($v['image'])){ | ||
| 37 | - $v['image_link'] = getImageUrl($v['image']); | ||
| 38 | - } | ||
| 39 | - if(!empty($v['operator_id'])){ | ||
| 40 | - $v['operator_name'] = (new User())->getName($v['operator_id']); | ||
| 41 | - } | 35 | +// $v['url'] = $this->user['domain'] . RouteMap::getRoute(RouteMap::SOURCE_NEWS, $v['id'], $this->user['project_id']); |
| 36 | +// if(!empty($v['image'])){ | ||
| 37 | +// $v['image_link'] = getImageUrl($v['image']); | ||
| 38 | +// } | ||
| 39 | +// if(!empty($v['operator_id'])){ | ||
| 40 | +// $v['operator_name'] = (new User())->getName($v['operator_id']); | ||
| 41 | +// } | ||
| 42 | $lists['list'][$k] = $v; | 42 | $lists['list'][$k] = $v; |
| 43 | } | 43 | } |
| 44 | } | 44 | } |
-
请 注册 或 登录 后发表评论