正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -42,10 +42,10 @@ class TaskLogic extends BaseLogic | @@ -42,10 +42,10 @@ class TaskLogic extends BaseLogic | ||
| 42 | $this->fail('error'); | 42 | $this->fail('error'); |
| 43 | } | 43 | } |
| 44 | if(!empty($info['attachment'])){ | 44 | if(!empty($info['attachment'])){ |
| 45 | - $info = getFileUrl($info); | 45 | + $info['attachment'] = getFileUrl($info['attachment']); |
| 46 | } | 46 | } |
| 47 | if(!empty($info['follow']['attachment'])){ | 47 | if(!empty($info['follow']['attachment'])){ |
| 48 | - $info['follow']['follow'] = getFileUrl($info['follow']); | 48 | + $info['follow']['follow'] = getFileUrl($info['follow']['attachment']); |
| 49 | } | 49 | } |
| 50 | return $this->success($info); | 50 | return $this->success($info); |
| 51 | } | 51 | } |
-
请 注册 或 登录 后发表评论