正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -22,8 +22,8 @@ class ProofreadingController extends BaseController | @@ -22,8 +22,8 @@ class ProofreadingController extends BaseController | ||
| 22 | } | 22 | } |
| 23 | $lists = $proofreadingLogic->proofreadingList($this->map,$this->page,$this->row); | 23 | $lists = $proofreadingLogic->proofreadingList($this->map,$this->page,$this->row); |
| 24 | if(!empty($lists['list']) && ($this->param['type'] == $this::TYPE_IMAGE)){ | 24 | if(!empty($lists['list']) && ($this->param['type'] == $this::TYPE_IMAGE)){ |
| 25 | - foreach ($lists as $k => $v){ | ||
| 26 | - $lists[$k]['image_link'] = url('/b/image/' . $v['translate']); | 25 | + foreach ($lists['list'] as $k => $v){ |
| 26 | + $lists['list'][$k]['image_link'] = url('/b/image/' . $v['translate']); | ||
| 27 | } | 27 | } |
| 28 | } | 28 | } |
| 29 | $this->response('success',Code::SUCCESS,$lists); | 29 | $this->response('success',Code::SUCCESS,$lists); |
-
请 注册 或 登录 后发表评论