|
@@ -280,7 +280,7 @@ def confirm_region_with_ip(request):
|
|
|
area = 'overseas'
|
|
|
elif region in ['香港', '澳门', '台湾']:
|
|
|
area = 'overseas'
|
|
|
- res = {region: area}
|
|
|
+ res = {'region': area}
|
|
|
return response.json(0, res)
|
|
|
except Exception as e:
|
|
|
return response.json(500, 'error_line:{}, error_msg:{}'.format(e.__traceback__.tb_lineno, repr(e)))
|