Browse Source

AVSS暂时返回美洲域名

locky 2 years ago
parent
commit
e8af6b6469
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Controller/RegionController.py

+ 4 - 0
Controller/RegionController.py

@@ -343,6 +343,10 @@ class RegionView(View):
                         country['api'] = 'https://www.dvema.com/'
                         country['api'] = 'https://www.dvema.com/'
                         country['push_api'] = 'https://push.dvema.com/'
                         country['push_api'] = 'https://push.dvema.com/'
                         break
                         break
+            # AVSS暂时返回美洲域名
+            else:
+                for country in country_qs:
+                    country['api'] = 'https://www.dvema.com/'
 
 
             return response.json(0, list(country_qs))
             return response.json(0, list(country_qs))
         except Exception as e:
         except Exception as e: