|
@@ -710,7 +710,8 @@ class refreshTokenViewV3(TemplateView):
|
|
|
# 国外正式服,判断是否需要重新登陆
|
|
|
user_qs = Device_User.objects.filter(userID=userID).values('password', 'region_country')
|
|
|
if CONFIG_INFO == CONFIG_US or CONFIG_INFO == CONFIG_EUR:
|
|
|
- country_id = user_qs['region_country']
|
|
|
+ country_id = user_qs[0]['region_country']
|
|
|
+ LOGGER.info('刷新token, country_id:{}'.format(country_id))
|
|
|
country_qs = CountryModel.objects.filter(id=country_id).values('region_id')
|
|
|
if country_qs.exists():
|
|
|
region_id = country_qs[0]['region_id']
|