| xqd
@@ -75,7 +75,7 @@ trait AttachmentHelper
|
|
|
$attachment->size = $fileSize;
|
|
|
$attachment->file_type = $fileMimeType;
|
|
|
if ($attachment->save()) {
|
|
|
- $result[$idx] = route('attachment.download', $md5);
|
|
|
+ $result[$idx] = $md5;
|
|
|
} else {
|
|
|
@unlink($real_path);
|
|
|
$result[$idx] = ErrorCode::ATTACHMENT_SAVE_FAILED;
|