正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -42,7 +42,7 @@ class Task extends Base | @@ -42,7 +42,7 @@ class Task extends Base | ||
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public function setAttachmentAttribute($value){ | 44 | public function setAttachmentAttribute($value){ |
| 45 | - $this->attributes['attachment'] = Upload::url2path($value); | 45 | + $this->attributes['attachment'] = getFileUrl($value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public function getAttachmentAttribute($value){ | 48 | public function getAttachmentAttribute($value){ |
-
请 注册 或 登录 后发表评论