Browse Source

no message

xingzai 8 months ago
parent
commit
cec6eba449
1 changed files with 8 additions and 0 deletions
  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 != "" {