chenxiqiang před 6 roky
rodič
revize
48fab76334

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

36
             return response()->json([
36
             return response()->json([
37
                 "status" => $auth->errcode,
37
                 "status" => $auth->errcode,
38
                 "message" => $auth->errmsg]);
38
                 "message" => $auth->errmsg]);
39
+        } else {
40
+            return response()->json([
41
+                "data" => $auth
42
+            ]);
39
         }
43
         }
40
     }
44
     }
41
 
45
 

Loading…
Zrušit
Uložit