21,886
社区成员
发帖
与我相关
我的任务
分享
$path = FileUtil::getPhotoPathByDate($date).$filename . "." . $extension;
if (!Storage::disk('local')->put($path, file_get_contents($filePath))) {
throw new RequestFailException(ErrorCode::CANNOT_SAVE_TO_STORAGE, "cannot save to storage");
}