diff --git a/app/api/logic/LoginLogic.php b/app/api/logic/LoginLogic.php index 9c0051239..e70ca1ce6 100755 --- a/app/api/logic/LoginLogic.php +++ b/app/api/logic/LoginLogic.php @@ -140,6 +140,9 @@ class LoginLogic extends BaseLogic if (isset($params['register_id']) && $params['register_id'] != '') { $user->register_id = $params['register_id']; } + if (isset($params['ytj_register_id']) && $params['ytj_register_id'] != '') { + $user->ytj_register_id = $params['ytj_register_id']; + } //更新登录信息 $user->login_time = time(); $user->login_ip = request()->ip();