Browse Source

no message

xingzai 11 tháng trước cách đây
mục cha
commit
cec6eba449
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      controllers/yanxuan_special.go

+ 8 - 0
controllers/yanxuan_special.go

@@ -185,6 +185,14 @@ func (this *YanxuanSpecialNoLoginController) Detail() {
 		br.ErrMsg = "获取失败, Err:" + tmpErr.Error()
 		return
 	}
+	if item.ImgUrl != "" {
+		imgList := strings.Split(item.ImgUrl, ",")
+		for _, s := range imgList {
+			item.ImgUrlList = append(item.ImgUrlList, s)
+		}
+	} else {
+		item.ImgUrlList = []string{}
+	}
 
 	//记录分享来源
 	if inviteShareCode != "" {