前台登录接口增加一体机极光推送设备id参数

This commit is contained in:
weiz 2023-11-22 11:01:36 +08:00
parent d09758fa98
commit 5993ecef3c

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