作者 lyh

gx

... ... @@ -42,11 +42,11 @@ class Task extends Base
}
public function setAttachmentAttribute($value){
$this->attributes['attachment'] = getFileUrl($value);
$this->attributes['attachment'] = $value;
}
public function getAttachmentAttribute($value){
return Upload::path2url($value);
return getFileUrl($value);
}
public function getTimeoutAttribute(){
... ...