fix exam assign undefined unit + improve announce ReAnnounce check

This commit is contained in:
xiaomlove
2022-07-31 23:34:36 +08:00
parent a69319980b
commit 22657622fa
5 changed files with 15 additions and 39 deletions

View File

@@ -228,7 +228,7 @@ if ($compact == 1) {
//check ReAnnounce
$params = $_GET;
unset($params['key']);
unset($params['key'], $params['ip'], $params['ipv4'], $params['ipv6']);
$reAnnounceQuery = http_build_query($params);
$lockKey = md5($reAnnounceQuery);
$log .= ", [CHECK_RE_ANNOUNCE], reAnnounceQuery: $reAnnounceQuery, lockKey: $lockKey";