Browse Source

2023-5-22-1 新增服务区-2

yingzi 2 năm trước cách đây
mục cha
commit
acb9633e78
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -165,7 +165,7 @@ class User extends BaseController
             }
             }
         }
         }
         $auth = $request->user->auth;
         $auth = $request->user->auth;
-        return app('json')->success(compact('count', 'list', 'auth'));
+        return app('json')->success()->getData(compact('count', 'list', 'auth'));
     }
     }