Browse Source

no message

xingzai 1 year ago
parent
commit
a59ec404d4
1 changed files with 2 additions and 1 deletions
  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