python学习

This commit is contained in:
2019-08-21 11:21:28 +08:00
parent 8df058774c
commit af928fb262
2 changed files with 42 additions and 41 deletions

View File

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