Merge branch 'dev' of 47.111.118.107:wmtx/platform into dev

master
zhengyongxing 5 years ago
commit a2c4e3f2e3

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

Loading…
Cancel
Save