Browse Source

去掉上报

jiantao 4 years ago
parent
commit
cfba385e70
1 changed files with 0 additions and 8 deletions
  1. 0 8
      ads_handler.go

+ 0 - 8
ads_handler.go

@@ -126,14 +126,6 @@ func adsHandler(c *gin.Context) {
126 126
 		return
127 127
 	}
128 128
 
129
-	// 是否是安卓
130
-	if request.Imei == "" {
131
-		device.SetAdsTagLog(advertiser, request.ReqSource, "DS_IOS", cityCode)
132
-		graylog.LogApi("ios_device", request.Idfa, "", request.ReqSource)
133
-	} else {
134
-		device.SetAdsTagLog(advertiser, request.ReqSource, "DS_ANDRIOID", cityCode)
135
-	}
136
-
137 129
 	freqControlInterval := 600
138 130
 	// 深圳,东莞强行用600秒控制, 其他地区从配置读取
139 131
 	if strings.Index(ipInfo.City, "深圳") == -1 && strings.Index(ipInfo.City, "东莞") == -1 {