Explorar el Código

修改文件上传,path->location

chenxiqiang hace 6 años
padre
commit
ab8e8c4804
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      manage-server/app/Http/Controllers/CommonController.php

+ 1
- 1
manage-server/app/Http/Controllers/CommonController.php Ver fichero

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

Loading…
Cancelar
Guardar