正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -64,7 +64,7 @@ class AiBlogController extends BaseController | @@ -64,7 +64,7 @@ class AiBlogController extends BaseController | ||
| 64 | if(!empty($lists) && !empty($lists['list'])){ | 64 | if(!empty($lists) && !empty($lists['list'])){ |
| 65 | foreach ($lists['list'] as $k => $v){ | 65 | foreach ($lists['list'] as $k => $v){ |
| 66 | $v['image'] = getImageUrl($v['image']); | 66 | $v['image'] = getImageUrl($v['image']); |
| 67 | - $v['route'] = $this->user['domain'] . 'blog/' . $v['route']; | 67 | + $v['route'] = $this->user['test_domain'] . 'blog/' . $v['route']; |
| 68 | $lists['list'][$k] = $v; | 68 | $lists['list'][$k] = $v; |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| @@ -104,7 +104,7 @@ class AiBlogController extends BaseController | @@ -104,7 +104,7 @@ class AiBlogController extends BaseController | ||
| 104 | if(!empty($lists) && !empty($lists['list'])){ | 104 | if(!empty($lists) && !empty($lists['list'])){ |
| 105 | foreach ($lists['list'] as $k => $v){ | 105 | foreach ($lists['list'] as $k => $v){ |
| 106 | $v['image'] = getImageUrl($v['image']); | 106 | $v['image'] = getImageUrl($v['image']); |
| 107 | - $v['route'] = $this->user['domain'] . 'user/' . $v['route']; | 107 | + $v['route'] = $this->user['test_domain'] . 'user/' . $v['route']; |
| 108 | $lists['list'][$k] = $v; | 108 | $lists['list'][$k] = $v; |
| 109 | } | 109 | } |
| 110 | } | 110 | } |
| @@ -171,7 +171,7 @@ class AiBlogController extends BaseController | @@ -171,7 +171,7 @@ class AiBlogController extends BaseController | ||
| 171 | $lists = $aiBlogList->lists($this->map,$this->page,$this->row,'id',['id','route','created_at','updated_at']); | 171 | $lists = $aiBlogList->lists($this->map,$this->page,$this->row,'id',['id','route','created_at','updated_at']); |
| 172 | if(!empty($lists) && !empty($lists['list'])){ | 172 | if(!empty($lists) && !empty($lists['list'])){ |
| 173 | foreach ($lists['list'] as $k => $v){ | 173 | foreach ($lists['list'] as $k => $v){ |
| 174 | - $v['route'] = $this->user['domain'] . 'top-blog/' . $v['route']; | 174 | + $v['route'] = $this->user['test_domain'] . 'top-blog/' . $v['route']; |
| 175 | $lists['list'][$k] = $v; | 175 | $lists['list'][$k] = $v; |
| 176 | } | 176 | } |
| 177 | } | 177 | } |
-
请 注册 或 登录 后发表评论