chenxiqiang hace 6 años
padre
commit
163b9e33ba
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

59
                 $store_result = $photo->store('photo');
59
                 $store_result = $photo->store('photo');
60
                 return response()->json([
60
                 return response()->json([
61
                     'status' => 0,
61
                     'status' => 0,
62
-                    'path' => ''
62
+                    'path' => $store_result
63
                 ]);
63
                 ]);
64
             } else {
64
             } else {
65
                 return response()->json([
65
                 return response()->json([

Loading…
Cancelar
Guardar