Преглед изворни кода

Merge branch 'liuzj-weixin-tishen-dev' into test

liuzejian пре 2 година
родитељ
комит
f6141c8c39
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/Video/Http/Controllers/VideoSeriesWechatCheckController.php

+ 1 - 1
modules/Video/Http/Controllers/VideoSeriesWechatCheckController.php

@@ -107,7 +107,7 @@ class VideoSeriesWechatCheckController extends CatchController
 
     public function test(Request $request) {
         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));
             });
         }