python学习

This commit is contained in:
2019-08-21 13:12:35 +08:00
parent 189d94b4f0
commit 7e9a1ed8af
3 changed files with 157 additions and 118 deletions

View File

@@ -38,7 +38,7 @@ def foodIndex():
tmp_data = {
'id':item.id,
# 'pic_url':UrlManager.buildImageUrl( item.main_image )
'pic_url': '106.52.204.179:8999/static/upload/'+item.main_image
'pic_url': 'http://106.52.204.179:8999/static/upload/'+item.main_image
}
data_food_list.append( tmp_data )