소스 검색

获取套餐语言列表

peng 2 년 전
부모
커밋
b6c2a38c7f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      AdminController/IcloudManagementController.py

+ 1 - 1
AdminController/IcloudManagementController.py

@@ -184,7 +184,7 @@ class IcloudServeView(View):
         line = int(line)
         total = lang.count()
         if is_select:
-            lang = lang.values('icloudstoremeal__id', 'title')
+            lang = ICloudStoreMeal.objects.values('id', 'lang__title')
         else:
             if meal_id:
                 lang = lang.filter(icloudstoremeal__id=meal_id).values('icloudstoremeal__id', 'id', 'lang', 'title',