批量删除清理缓存

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

@@ -1,54 +1,58 @@
package user_protocol
import (
"x_admin/core"
)
// UserProtocolListReq 用户协议列表参数
//UserProtocolListReq 用户协议列表参数
type UserProtocolListReq struct {
Title *string `` // 标题
Content *string `` // 协议内容
Sort *float64 `` // 排序
CreateTimeStart *string `` // 开始创建时间
CreateTimeEnd *string `` // 结束创建时间
UpdateTimeStart *string `` // 开始更新时间
UpdateTimeEnd *string `` // 结束更新时间
Title *string // 标题
Content *string // 协议内容
Sort *float64 // 排序
CreateTimeStart *string // 开始创建时间
CreateTimeEnd *string // 结束创建时间
UpdateTimeStart *string // 开始更新时间
UpdateTimeEnd *string // 结束更新时间
}
// UserProtocolAddReq 用户协议新增参数
//UserProtocolAddReq 用户协议新增参数
type UserProtocolAddReq struct {
Title *string `` // 标题
Content *string `` // 协议内容
Sort core.NullFloat `` // 排序
Title *string // 标题
Content *string // 协议内容
Sort core.NullFloat // 排序
}
// UserProtocolEditReq 用户协议编辑参数
//UserProtocolEditReq 用户协议编辑参数
type UserProtocolEditReq struct {
Id int `` //
Title *string `` // 标题
Content *string `` // 协议内容
Sort core.NullFloat `` // 排序
Id int //
Title *string // 标题
Content *string // 协议内容
Sort core.NullFloat // 排序
}
// UserProtocolDetailReq 用户协议详情参数
//UserProtocolDetailReq 用户协议详情参数
type UserProtocolDetailReq struct {
Id int `` //
Id int //
}
// UserProtocolDelReq 用户协议删除参数
//UserProtocolDelReq 用户协议删除参数
type UserProtocolDelReq struct {
Id int `` //
}
type UserProtocolDelBatchReq struct {
Ids string `` //
Id int //
}
// UserProtocolResp 用户协议返回信息
type UserProtocolResp struct {
Id int `` //
Title string `` // 标题
Content string `` // 协议内容
Sort core.NullFloat `` // 排序
CreateTime core.NullTime `` // 创建时间
UpdateTime core.NullTime `` // 更新时间
//UserProtocolDelReq 用户协议批量删除参数
type UserProtocolDelBatchReq struct {
Ids string
}
//UserProtocolResp 用户协议返回信息
type UserProtocolResp struct {
Id int //
Title string // 标题
Content string // 协议内容
Sort core.NullFloat // 排序
CreateTime core.NullTime // 创建时间
UpdateTime core.NullTime // 更新时间
}