// Package imkafkacommand // @Link https://github.com/bufanyun/hotgo // @Copyright Copyright (c) 2026 HotGo // @Author Ms <133814250@qq.com> // @License https://github.com/bufanyun/hotgo/blob/master/LICENSE package imkafkacommand import ( "hotgo/internal/model/input/form" "hotgo/internal/model/input/sysin" "github.com/gogf/gf/v2/frame/g" ) type ListReq struct { g.Meta `path:"/imKafkaCommand/list" method:"get" tags:"IM后台命令" summary:"获取IM后台命令列表"` sysin.ImKafkaCommandListInp } type ListRes struct { form.PageRes List []*sysin.ImKafkaCommandListModel `json:"list" dc:"数据列表"` } type ViewReq struct { g.Meta `path:"/imKafkaCommand/view" method:"get" tags:"IM后台命令" summary:"获取IM后台命令详情"` sysin.ImKafkaCommandViewInp } type ViewRes struct { *sysin.ImKafkaCommandViewModel } type CacheInvalidateReq struct { g.Meta `path:"/imKafkaCommand/cacheInvalidate" method:"post" tags:"IM后台命令" summary:"发送IM缓存失效测试事件"` sysin.ImKafkaCacheInvalidateInp } type CacheInvalidateRes struct { *sysin.ImKafkaEventModel } type WorkbenchEventReq struct { g.Meta `path:"/imKafkaCommand/workbenchEvent" method:"post" tags:"IM后台命令" summary:"发送IM工作台测试事件"` sysin.ImKafkaWorkbenchEventInp } type WorkbenchEventRes struct { *sysin.ImKafkaEventModel }