批量删除清理缓存

This commit is contained in:
xiangheng
2024-09-13 09:11:34 +08:00
parent f041b2583e
commit 01759f86d6
13 changed files with 148 additions and 186 deletions

View File

@@ -139,8 +139,9 @@ func (hd *UserProtocolHandler) Del(c *gin.Context) {
response.CheckAndResp(c, UserProtocolService.Del(delReq.Id))
}
// @Summary 用户协议批量删除
// @Tags user_protocol-用户协议
// @Summary 用户协议删除-批量
// @Tags user_protocol-用户协议
//
// @Produce json
// @Param Token header string true "token"
// @Param Ids body string false "逗号分割的id"
@@ -156,9 +157,7 @@ func (hd *UserProtocolHandler) DelBatch(c *gin.Context) {
return
}
var Ids = strings.Split(delReq.Ids, ",")
// if response.IsFailWithResp(c, util.VerifyUtil.VerifyJSON(c, &delReq)) {
// return
// }
response.CheckAndResp(c, UserProtocolService.DelBatch(Ids))
}