正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
| @@ -92,6 +92,12 @@ class ReplaceHtmlController extends BaseController | @@ -92,6 +92,12 @@ class ReplaceHtmlController extends BaseController | ||
| 92 | 'replace_id.required' => '主id不能为空', | 92 | 'replace_id.required' => '主id不能为空', |
| 93 | ]); | 93 | ]); |
| 94 | $lists = $replaceHtmlLog->lists($this->map,$this->page,$this->row,$this->order); | 94 | $lists = $replaceHtmlLog->lists($this->map,$this->page,$this->row,$this->order); |
| 95 | + if(!empty($lists) && !empty($lists['list'])){ | ||
| 96 | + foreach ($lists['list'] as $k => $v){ | ||
| 97 | + $v['page_name'] = $logic->getSourceName($v['source'],$v['is_list'],$v['is_custom'],$v['project_id']); | ||
| 98 | + $lists['list'][$k] = $v; | ||
| 99 | + } | ||
| 100 | + } | ||
| 95 | $this->response('success',Code::SUCCESS,$lists); | 101 | $this->response('success',Code::SUCCESS,$lists); |
| 96 | } | 102 | } |
| 97 | 103 |
-
请 注册 或 登录 后发表评论