Merge pull request '前台登录接口增加一体机极光推送设备id参数' (#173) from zhangwei into dev
Reviewed-on: #173
This commit is contained in:
commit
e419d84b60
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user