浏览代码

序列号绑定uid模拟国外环境测试

locky 3 年之前
父节点
当前提交
db05ddd6b1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Controller/SerialNumberController.py

+ 1 - 0
Controller/SerialNumberController.py

@@ -150,6 +150,7 @@ class SerialNumberView(View):
         try:
             if not country_id:
                 ip = CommonService.get_ip_address(request)
+                ip = '67.220.90.13'     # 仅用于模拟国外环境测试
                 country_id = Device_Region().get_device_region(ip)
 
             # 判断序列号是否已和企业关联