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