jerry 1 жил өмнө
parent
commit
1f3539e0ef

+ 1 - 1
common/libs/IpFilter.php

@@ -56,7 +56,7 @@ class IpFilter
         $record = $reader->country($remoteAddr);
         // 返回国家名称
         $countryName = $record->country->name;
-        if (!in_array($countryName, ['China'])) {
+        if (!in_array($countryName, ['China', 'Malaysia'])) {
             return false;
         }