Browse Source

shopify官网返回语言

linhaohong 5 tháng trước cách đây
mục cha
commit
700048ce7f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Controller/ShopifyController.py

+ 1 - 1
Controller/ShopifyController.py

@@ -102,7 +102,7 @@ class ShopifyView(View):
         return self.validation(request, request_dict, operation)
 
     def validation(self, request, request_dict, operation):
-        language = request_dict.get('language', 'cn')
+        language = request_dict.get('language', 'en')
         response = ResponseObject(language, "pc")
         if operation == 'shopifyLogin':
             return self.shopify_login(request_dict, response)