Browse Source

更新

master
huangjiajun 1 day ago
parent
commit
affb3e39d5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/svc/svc_data_center_original_data.go

+ 2
- 2
app/svc/svc_data_center_original_data.go View File

@@ -298,7 +298,7 @@ func OriginalDataMoreApplicationDoing(c *gin.Context, req md.DataCenterOriginalD
ComponentAppid: wxOpenThirdPartyAppList.Appid,
ComponentAppsecret: wxOpenThirdPartyAppList.AppSecret,
}
if k+1 == len(req.Ids) {
if k+1 == len(ids) {
arg.IsEnd = "1"
}
err := ch.PublishV2(md.AdOriginalData, utils.SerializeStr(arg), md.AdOriginalDataApplication)
@@ -309,7 +309,7 @@ func OriginalDataMoreApplicationDoing(c *gin.Context, req md.DataCenterOriginalD
if len(ids) == 0 {
return e.NewErr(400000, "选择的广告位已存在,请删除后再生成")
}
cache.SetEx(c.GetString("mid")+":original.wx.ad.data", "1", 3600)
cache.SetEx(c.GetString("mid")+":original.wx.ad.data", "1", 300)
return nil
}
func OriginalDataOneApplicationTotal(c *gin.Context, req md.DataCenterOriginalDataOneApplicationDoingReq) {


Loading…
Cancel
Save