Переглянути джерело

更改ip返回状态限制珠海

linhaohong 1 рік тому
батько
коміт
a62241fcc3
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Controller/AppSetController.py

+ 1 - 1
Controller/AppSetController.py

@@ -302,7 +302,7 @@ class AppSetView(View):
                 ip_region = ip_qs.region
                 ip_city = ip_addr_qs.city
                 ip_district = ip_addr_qs.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
                 IPAddr.objects.create(ip=ip, country_code=ip_country_code, region=ip_region, city=ip_city,
                                       district=ip_district)