Explorar o código

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

xingzai hai 1 ano
pai
achega
7900646a55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {