浏览代码

shopify官网返回语言

linhaohong 5 月之前
父节点
当前提交
700048ce7f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)