chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
// Package tnotifylog
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <xxx@example.com>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package v1 //tnotifylog
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询通知日志列表
|
||||
type TNotifyLogListReq struct {
|
||||
g.Meta `path:"/tNotifyLog/list" method:"get" tags:"通知日志" summary:"获取通知日志列表" x-check-permission:"cpm:common:tNotifyLog:list"`
|
||||
model.TNotifyLogListParam
|
||||
}
|
||||
|
||||
type TNotifyLogListRes struct {
|
||||
response.PageResult
|
||||
Items []*model.TNotifyLogListModel `json:"items" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ExportReq 导出通知日志列表
|
||||
type TNotifyLogExportReq struct {
|
||||
g.Meta `path:"/tNotifyLog/export" method:"post" tags:"通知日志" summary:"导出通知日志列表" x-check-permission:"cpm:common:tNotifyLog:export"`
|
||||
model.TNotifyLogListParam
|
||||
}
|
||||
|
||||
type TNotifyLogExportRes struct{}
|
||||
|
||||
// ViewReq 获取通知日志指定信息
|
||||
type TNotifyLogViewReq struct {
|
||||
g.Meta `path:"/tNotifyLog/view" method:"get" tags:"通知日志" summary:"获取通知日志指定信息" x-check-permission:"cpm:common:tNotifyLog:view"`
|
||||
model.TNotifyLogViewParam
|
||||
}
|
||||
|
||||
type TNotifyLogViewRes struct {
|
||||
*model.TNotifyLogViewModel
|
||||
}
|
||||
|
||||
// EditReq 修改/新增通知日志
|
||||
type TNotifyLogEditReq struct {
|
||||
g.Meta `path:"/tNotifyLog/edit" method:"post" tags:"通知日志" summary:"修改/新增通知日志" x-check-permission:"cpm:common:tNotifyLog:edit"`
|
||||
model.TNotifyLogEditParam
|
||||
}
|
||||
|
||||
type TNotifyLogEditRes struct{}
|
||||
|
||||
// DeleteReq 删除通知日志
|
||||
type TNotifyLogDeleteReq struct {
|
||||
g.Meta `path:"/tNotifyLog/delete" method:"post" tags:"通知日志" summary:"删除通知日志" x-check-permission:"cpm:common:tNotifyLog:delete"`
|
||||
model.TNotifyLogDeleteParam
|
||||
}
|
||||
|
||||
type TNotifyLogDeleteRes struct{}
|
||||
Reference in New Issue
Block a user