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