Explorar el Código

更改ip返回状态限制珠海

linhaohong hace 1 año
padre
commit
e5696255d6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/AppSetController.py

+ 1 - 1
Controller/AppSetController.py

@@ -294,7 +294,7 @@ class AppSetView(View):
                 ip_region = ip_addr_qs[0]['region']
                 ip_region = ip_addr_qs[0]['region']
                 ip_city = ip_addr_qs[0]['city']
                 ip_city = ip_addr_qs[0]['city']
                 ip_district = ip_addr_qs[0]['district']
                 ip_district = ip_addr_qs[0]['district']
-                if ip_country_code == 'CN' and ip_region == '广东' and ip_city == '中山市':
+                if ip_country_code == 'CN' and ip_region == '广东' and ip_city == '珠海市':
                     splashAdStatus = 1
                     splashAdStatus = 1
             else:
             else:
                 ip_qs = IPQuery(ip)
                 ip_qs = IPQuery(ip)