Browse Source

添加分类

chenxiqiang 6 years ago
parent
commit
48fab76334
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      manage-server/app/Http/Controllers/CommonController.php

+ 4
- 0
manage-server/app/Http/Controllers/CommonController.php View File

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

Loading…
Cancel
Save