|
@@ -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))
|
|
|
|