|
|
|
@ -81,8 +81,10 @@ class MemberModel extends Model {
|
|
|
|
|
'data_empower_type'=>$adminData['data_empower_type'],
|
|
|
|
|
'data_president'=>$adminData['data_president']
|
|
|
|
|
);
|
|
|
|
|
session('user_auth', $auth);
|
|
|
|
|
session('user_auth_sign', data_auth_sign($auth));
|
|
|
|
|
//登录有效时间改为1小时
|
|
|
|
|
session(['name'=>'user_auth', 'expire'=>60*60], $auth);
|
|
|
|
|
session(['name'=>'user_auth_sign', 'expire'=>60*60], data_auth_sign($auth));
|
|
|
|
|
|
|
|
|
|
session('user_auth_expire', time());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|