diff --git a/app/controller/UserController.php b/app/controller/UserController.php index 453fec4..0e16d1b 100644 --- a/app/controller/UserController.php +++ b/app/controller/UserController.php @@ -179,7 +179,7 @@ class UserController $user->toArray(); unset($user->password); $user['feishu_openid'] = FeishuUser::where('user_id', $userId)->value('open_id'); - $user['country_name'] = Country::where('id', $user['country_id'])->value('open_id'); + $user['country_name'] = Country::where('id', $user['country_id'])->value('cn_addr'); return Util::success($user, trans('save_success')); }