From af928fb262f3934b95351d7c876bec60a30179e0 Mon Sep 17 00:00:00 2001
From: jianbo <263303411@qq.com>
Date: Wed, 21 Aug 2019 11:21:28 +0800
Subject: [PATCH] =?UTF-8?q?python=E5=AD=A6=E4=B9=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 80 ++++++++++++++++++-------------------
web/controllers/api/Food.py | 3 +-
2 files changed, 42 insertions(+), 41 deletions(-)
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 @@
1566356557379
-
+
+ 1566357199810
+
+
+
+ 1566357199810
+
+
@@ -817,16 +817,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -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 )