Browse Source

添加分类

chenxiqiang 7 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
             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…
Cancel
Save