diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5a88cf0..b1c8929 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -31,28 +31,21 @@ - - + + - + - - + + - - - - - - - @@ -70,17 +63,17 @@ - - + + - + - - + + @@ -596,7 +589,14 @@ - - - - - - - - - - @@ -834,6 +824,23 @@ + + + + + + + + + + + + + + + + + @@ -841,8 +848,8 @@ - - + + @@ -855,22 +862,15 @@ - + - - - - - - - - - + + diff --git a/web/controllers/api/Food.py b/web/controllers/api/Food.py index 0c79f31..5506d97 100644 --- a/web/controllers/api/Food.py +++ b/web/controllers/api/Food.py @@ -37,7 +37,8 @@ def foodIndex(): for item in food_list: tmp_data = { 'id':item.id, - 'pic_url':UrlManager.buildImageUrl( item.main_image ) + # 'pic_url':UrlManager.buildImageUrl( item.main_image ) + 'pic_url': '106.52.204.179:8999'+item.main_image } data_food_list.append( tmp_data )