|
@@ -107,7 +107,7 @@ class VideoSeriesWechatCheckController extends CatchController
|
|
|
|
|
|
public function test(Request $request) {
|
|
public function test(Request $request) {
|
|
foreach (['1228789.jpg', 'images.png'] as $i) {
|
|
foreach (['1228789.jpg', 'images.png'] as $i) {
|
|
- Response::streamDownload(function () use($i){
|
|
|
|
|
|
+ return Response::streamDownload(function () use($i){
|
|
echo file_get_contents(app_path($i));
|
|
echo file_get_contents(app_path($i));
|
|
});
|
|
});
|
|
}
|
|
}
|