|
|
@@ -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) { |
|
|
|