Merge pull request '前台登录接口增加一体机极光推送设备id参数' (#173) from zhangwei into dev

Reviewed-on: #173
This commit is contained in:
weiz 2023-11-22 11:03:42 +08:00
commit e419d84b60

View File

@ -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();