示例#1
0
 def image(self):
     if self.topic_img_id:
         return Image.get_img_by_id(self.topic_img_id).url
     else:
         return None
示例#2
0
 def head_img_url(self):
     return Image.get_img_by_id(self.head_img_id).url
示例#3
0
 def img_url(self):
     return Image.get_img_by_id(id=self.img_id).url
示例#4
0
	def head_img_url(self):
		return Image.get_img_by_id(self.head_img_id).url
示例#5
0
 def topic_img_url(self):
     return Image.get_img_by_id(self.topic_img_id).url
示例#6
0
	def topic_img_url(self):
		return Image.get_img_by_id(self.topic_img_id).url
示例#7
0
	def img(self):
		return Image.get_img_by_id(id=self.img_id)
示例#8
0
 def img_url(self):
     img = Image.get_img_by_id(id=self.img_id)
     return img.url
示例#9
0
 def snap_img(self):
     return Image.get_img_by_id(self.snap_img_id).url
示例#10
0
 def main_img(self):
     return Image.get_img_by_id(self.main_img_id).url