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