Browse Source

no message

xingzai 1 năm trước cách đây
mục cha
commit
082c69b59d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
 	} else if strings.Contains(url, about) {
 		item.Type = 5
+		item.SourceId = 1 // 强制设置为正数前端跳转使用
 	} else if strings.Contains(url, internal) {
 		item.Type = 6
 	} else if strings.Contains(url, thisWeek) {