浏览代码

修改港澳台country_code为N/A

locky 1 年之前
父节点
当前提交
9535b23d2a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AdminController/LogManagementController.py

+ 1 - 1
AdminController/LogManagementController.py

@@ -446,7 +446,7 @@ class LogManagementView(View):
 
                 # 港澳台返回美洲域名
                 if country_code == 'CN' and region in ['香港', '澳门', '台湾']:
-                    country_code = 'NA'
+                    country_code = 'N/A'
 
                 country_qs = CountryModel.objects.filter(country_code=country_code).\
                     values('region__name', 'region__api')