Pārlūkot izejas kodu

Merge branch 'cygx_12.0' of http://8.136.199.33:3000/cxzhang/hongze_clpt into debug

xingzai 1 gadu atpakaļ
vecāks
revīzija
61e7251a38
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      controllers/yanxuan_special.go

+ 2 - 1
controllers/yanxuan_special.go

@@ -869,7 +869,8 @@ func (this *YanxuanSpecialController) Cancel() {
 		br.ErrMsg = "取消发布失败, Err:" + tmpErr.Error()
 		return
 	}
-
+	go services.UpdateYanxuanSpecialResourceData(req.Id) //  写入首页最新  cygx_resource_data 表
+	go services.EsAddYanxuanSpecial(req.Id)              //  写入es 综合搜索
 	br.Msg = "取消发布成功"
 	br.Ret = 200
 	br.Success = true