session里面已经保存了好多值
public function check($code, $id = '') {
/* 固定加密验证码 */
$key = $this->authcode($this->seKey).$id;
// 验证码不能为空
$secode = session($key);
dump(session());exit;
怎么还没登陆成功?session里面已经保存了好多值,这是怎么回事呀?
array(7) {
["yang_adm_uid"] => string(1) "1"
["yang_adm_username"] => string(5) "admin"
["yang_adm_roleid"] => int(1)
["yang_adm_logintime"] => string(19) "2018-02-25 15:41:52"
["yang_adm_loginip"] => string(7) "0.0.0.0"
["yang_adm_superadmin"] => bool(true)
["d2d977c58444271d9c780187e93f80e5a_login_1"] => array(2) {
["verify_code"] => string(32) "d9e3bd6626ad943c448d901b7882898d"
["verify_time"] => int(1519548164)
}
}