Эх сурвалжийг харах

修改获取套餐列表套餐名

peng 2 жил өмнө
parent
commit
74a66fd5a9

+ 1 - 1
AdminController/ServeManagementController.py

@@ -584,7 +584,7 @@ class serveManagement(View):
             store_meal_list = []
             for item in store_meal:
                 store_meal_list.append({'id': item['id'], 'title': item['lang__title'] + '--' + item['lang__content']})
-            return response.json(0, list(store_meal))
+            return response.json(0, store_meal_list)
         except Exception as e:
             return response.json(500, repr(e))