maxmind国家判断失效跳过

This commit is contained in:
root
2026-06-20 11:49:29 +08:00
parent 24ff3f9657
commit acb0c09a00
7 changed files with 47 additions and 17 deletions
+1
View File
@@ -75,6 +75,7 @@ class visitorInfo
$this->check_result = !empty($return['result']) ? "true" : "false";
if ($this->v_country === '' && !empty($return['country'])) {
$this->v_country = (string) $return['country'];
$_SESSION['gcu_country'] = $this->v_country;
}
$this->v_reason = cloak_api_reason($return, $this->check_result);
return $return;