xingzai 8 сар өмнө
parent
commit
cec6eba449

+ 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 != "" {