|
@@ -107,7 +107,9 @@ class VideoSeriesWechatCheckController extends CatchController
|
|
|
|
|
|
public function test(Request $request) {
|
|
|
foreach (['1228789.jpg'] as $i) {
|
|
|
- return response()->file(app_path($i));
|
|
|
+ $path = storage_path(uniqid());
|
|
|
+ file_put_contents($path, file_put_contents(app_path($i)));
|
|
|
+ return response()->file($path);
|
|
|
}
|
|
|
}
|
|
|
}
|