Selaa lähdekoodia

优惠券多语言

locky 8 kuukautta sitten
vanhempi
commit
28cc17fc74
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Controller/CouponController.py

+ 1 - 1
Controller/CouponController.py

@@ -85,7 +85,7 @@ class CouponView(View):
     def query_user_coupon(self, request_dict, userID, response):  # 用户优惠券列表
         now_time = int(time.time())
         lang = request_dict.get('lang', 'en')
-        if lang not in ['en', 'cn', 'es', 'fr', 'de', 'cn_tw', 'pt', 'ru', 'ja', 'it', 'pl', 'nl', 'id', 'ar']:
+        if lang not in ['en', 'cn', 'es', 'fr', 'de', 'cn_tw', 'pt', 'ru', 'ja', 'it', 'pl', 'nl', 'id', 'ar', 'ko']:
             lang = 'en'
         coupon_obj = CouponModel.objects.filter(
             userID=userID,