Parcourir la source

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai il y a 1 an
Parent
commit
7900646a55
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/banner.go

+ 1 - 1
services/banner.go

@@ -80,7 +80,7 @@ func GetBannerUrlBody(url string) (itemResp *models.BannerUrlResp) {
 		item.Type = 4
 	} else if strings.Contains(url, about) {
 		item.Type = 5
-		item.SourceId = 1 // 强制设置为正数前端跳转使用
+		sourceId = 1 // 强制设置为正数前端跳转使用
 	} else if strings.Contains(url, internal) {
 		item.Type = 6
 	} else if strings.Contains(url, thisWeek) {