Kaynağa Gözat

完善获取国家和域名接口

locky 2 yıl önce
ebeveyn
işleme
597c1db8ad
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Controller/RegionController.py

+ 2 - 2
Controller/RegionController.py

@@ -28,7 +28,7 @@ class RegionView(View):
         response = uidManageResponseObject()
         if operation == 'getCountry':
             return self.get_country(request_dict, response)
-        elif operation == 'getCountryAndDomainName':
+        elif operation == 'getCountryAndDomainName':    # 获取国家和域名
             return self.get_country_and_domain_name(request_dict, response)
         else:
             token = TokenObject(request_dict.get('token', None))
@@ -285,7 +285,7 @@ class RegionView(View):
     @staticmethod
     def get_country_and_domain_name(request_dict, response):
         lang = request_dict.get('lang', None)
-        app_bundle_id = request_dict.get('app_bundle_id', None)
+        app_bundle_id = request_dict.get('app_bundle_id', 'com.ansjer.zccloud')     # AVSS不传app_bundle_id参数
         time_stamp = request_dict.get('time_stamp', None)
         time_stamp_token = request_dict.get('time_stamp_token', None)