Procházet zdrojové kódy

修改文件上传,path->location

chenxiqiang před 6 roky
rodič
revize
ab8e8c4804

+ 1
- 1
manage-server/app/Http/Controllers/CommonController.php Zobrazit soubor

64
                 $http_path = asset(str_replace('public', 'storage', $store_result));
64
                 $http_path = asset(str_replace('public', 'storage', $store_result));
65
                 return response()->json([
65
                 return response()->json([
66
                     'status' => 0,
66
                     'status' => 0,
67
-                    'path' => $http_path
67
+                    'location' => $http_path
68
                 ]);
68
                 ]);
69
             } else {
69
             } else {
70
                 return response()->json([
70
                 return response()->json([

Loading…
Zrušit
Uložit