|
|
@ -71,11 +71,15 @@ class MemberModel extends Model {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
$this->save($data);
|
|
|
|
$this->save($data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$adminData = getAdminData($user['uid']);
|
|
|
|
|
|
|
|
|
|
|
|
/* 记录登录SESSION和COOKIES */
|
|
|
|
/* 记录登录SESSION和COOKIES */
|
|
|
|
$auth = array(
|
|
|
|
$auth = array(
|
|
|
|
'uid' => $user['uid'],
|
|
|
|
'uid' => $user['uid'],
|
|
|
|
'username' => $user['nickname'],
|
|
|
|
'username' => $user['nickname'],
|
|
|
|
'last_login_time' => $user['last_login_time'],
|
|
|
|
'last_login_time' => $user['last_login_time'],
|
|
|
|
|
|
|
|
'data_empower_type'=>$adminData['data_empower_type'],
|
|
|
|
|
|
|
|
'data_president'=>$adminData['data_president']
|
|
|
|
);
|
|
|
|
);
|
|
|
|
session('user_auth', $auth);
|
|
|
|
session('user_auth', $auth);
|
|
|
|
session('user_auth_sign', data_auth_sign($auth));
|
|
|
|
session('user_auth_sign', data_auth_sign($auth));
|
|
|
|