Browse Source

no message

xingzai 1 year ago
parent
commit
082c69b59d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      services/banner.go

+ 1 - 0
services/banner.go

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