Skip to content

Commit

Permalink
百度2
Browse files Browse the repository at this point in the history
  • Loading branch information
yziwe committed Oct 4, 2023
1 parent 36e1286 commit 346c28b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions server/service/adv_platform/bd.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func BdReceive(c *gin.Context) {
global.GVA_LOG.Error(fmt.Sprintf("监测广告已关闭, ID:%s", advId))
return
}
color.Printf("百度 %d, os: %s", count, c.Query("os"))
color.Printf("百度1 %d, os: %s", count, c.Query("os"))

data := &model.AdvMonitorDataBds{}

Expand Down Expand Up @@ -53,7 +53,7 @@ func BdReceive(c *gin.Context) {

_, err2 := global.GVA_REDIS.RPush("adv_queue_daily_baidu_1", js).Result()
if err2 != nil {
global.GVA_LOG.Error(fmt.Sprintf("百度记录失败2 %s", err2.Error()))
global.GVA_LOG.Error(fmt.Sprintf("百度1记录失败2 %s", err2.Error()))
return
}

Expand All @@ -65,5 +65,5 @@ func BdReceive(c *gin.Context) {
c.Abort()
return
}
c.String(http.StatusOK, "yes!")
c.String(http.StatusOK, "bd1 yes!")
}
2 changes: 1 addition & 1 deletion server/service/adv_platform/ju_liang.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ func JlReceive(c *gin.Context) {
c.Abort()
return
}
c.String(http.StatusOK, "yes!")
c.String(http.StatusOK, "jl yes!")
}
2 changes: 1 addition & 1 deletion server/service/adv_platform/kuaishou.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ func KsReceive(c *gin.Context) {
c.Abort()
return
}
c.String(http.StatusOK, "yes!")
c.String(http.StatusOK, "ks yes!")
}
4 changes: 2 additions & 2 deletions server/service/adv_platform/teng_xun.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TxReceive(c *gin.Context) {
count := global.GVA_REDIS.ZCount("OFF_ADVS", advId, advId).Val()
if count > 0 {
color.Printf("已关闭 %d, member:%s", count)
global.GVA_LOG.Error(fmt.Sprintf("快手监测广告已关闭, ID:%s", advId))
global.GVA_LOG.Error(fmt.Sprintf("tx 监测广告已关闭, ID:%s", advId))
return
}

Expand Down Expand Up @@ -60,5 +60,5 @@ func TxReceive(c *gin.Context) {
c.Abort()
return
}
c.String(http.StatusOK, "yes!")
c.String(http.StatusOK, "tx yes!")
}

0 comments on commit 346c28b

Please sign in to comment.