正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -287,8 +287,8 @@ class InquiryController extends BaseController | @@ -287,8 +287,8 @@ class InquiryController extends BaseController | ||
| 287 | throw new \Exception('文件生成失败,请重试'); | 287 | throw new \Exception('文件生成失败,请重试'); |
| 288 | } | 288 | } |
| 289 | $fileurl = Storage::disk('runtime')->url($file); | 289 | $fileurl = Storage::disk('runtime')->url($file); |
| 290 | -// return Storage::disk('runtime')->download($file); //直接下载 | ||
| 291 | - $this->response('success',Code::SUCCESS,['url' => $fileurl]); | 290 | + return Storage::disk('runtime')->download($file); //直接下载 |
| 291 | +// $this->response('success',Code::SUCCESS,['url' => $fileurl]); | ||
| 292 | } | 292 | } |
| 293 | 293 | ||
| 294 | /** | 294 | /** |
-
请 注册 或 登录 后发表评论