// 会员登录次数增加 function update_user_login_count($uid) { if (AWS_APP::cache()->get('update_login_count_' . md5(session_id()) . '_' . intval($uid))) { return false; } AWS_APP::cache()->set('update_login_count_' . md5(session_id()) . '_' . intval($uid), time(), 86400); $this->shutdown_query("UPDATE " . $this->get_table('users') . " SET login_count = login_count + 1 WHERE uid = " . intval($uid)); return true; }修改86400是不是个周期?
AI智能回复搜索中,请稍后...