|
@@ -183,8 +183,9 @@ func (c *AbstractController) Del() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ // 删除es数据
|
|
|
for _, v := range list {
|
|
|
- go services.AddOrEditEsWechatArticleAbstract(v.WechatArticleAbstractId)
|
|
|
+ go services.DelEsWechatArticleAbstract(v.WechatArticleAbstractId)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -238,6 +239,11 @@ func (c *AbstractController) VectorDel() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ // 修改ES数据
|
|
|
+ for _, v := range list {
|
|
|
+ go services.AddOrEditEsWechatArticleAbstract(v.WechatArticleAbstractId)
|
|
|
+ }
|
|
|
+
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = `删除成功`
|