This commit is contained in:
2026-01-18 18:03:40 +08:00
parent f038dbab41
commit 9259bda54b
7 changed files with 40 additions and 12 deletions

View File

@@ -78,9 +78,6 @@ class Login extends BaseController {
$user = auth('api')->user();
$user->level = $user->level()->first();
$user->social = $user->social()->where('type', $type)->first();
$user->store = $user->store()->first();
$user->pm = $user->pm()->where('status', 1)->first();
$this->data['data'] = $user;
return response()->json($this->data);
}