:art:优化API中间件顺序
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
coward
2025-03-03 16:53:05 +08:00
parent 6a71ca56d0
commit d4f9204b24
5 changed files with 4 additions and 17 deletions

View File

@@ -22,16 +22,3 @@ type Client struct {
func (Client) TableName() string {
return "t_client"
}
// Watcher
// @description: 监听日志
type Watcher struct {
Base
ClientId string `json:"clientId" gorm:"type:char(36);not null;comment:'客户端id'"`
NotifyResult string `json:"notifyResult" gorm:"type:text;default null;comment:'通知结果'"`
IsSend int `json:"isSend" gorm:"type:tinyint(1);default 0;comment:'是否已通知'"`
}
func (Watcher) TableName() string {
return "t_watcher"
}