|
@@ -335,7 +335,7 @@ func (this *YanxuanSpecialController) Save() {
|
|
|
if req.DoType == 2 {
|
|
|
go services.SendReviewTemplateMsgAdmin(specialId)
|
|
|
go services.UpdateYanxuanSpecialResourceData(specialId) // 写入首页最新 cygx_resource_data 表
|
|
|
- go services.AddYanxuanSpecial(specialId) // 写入es 综合搜索
|
|
|
+ go services.EsAddYanxuanSpecial(specialId) // 写入es 综合搜索
|
|
|
}
|
|
|
|
|
|
br.Ret = 200
|
|
@@ -429,7 +429,7 @@ func (this *YanxuanSpecialController) Enable() {
|
|
|
}
|
|
|
go services.SendWxMsgSpecialAuthor(req.Id, status)
|
|
|
go services.UpdateYanxuanSpecialResourceData(req.Id) // 写入首页最新 cygx_resource_data 表
|
|
|
- go services.AddYanxuanSpecial(req.Id) // 写入es 综合搜索
|
|
|
+ go services.EsAddYanxuanSpecial(req.Id) // 写入es 综合搜索
|
|
|
br.Msg = "审批成功"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
@@ -822,7 +822,7 @@ func (this *YanxuanSpecialController) Cancel() {
|
|
|
return
|
|
|
}
|
|
|
go services.UpdateYanxuanSpecialResourceData(req.Id) // 写入首页最新 cygx_resource_data 表
|
|
|
- go services.AddYanxuanSpecial(req.Id) // 写入es 综合搜索
|
|
|
+ go services.EsAddYanxuanSpecial(req.Id) // 写入es 综合搜索
|
|
|
br.Msg = "取消发布成功"
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|