中文枚举
This commit is contained in:
@@ -5,6 +5,5 @@ import "git.huangwc.com/pig/pig-farm-controller/internal/infra/notify"
|
||||
// SendTestNotificationRequest 定义了发送测试通知请求的 JSON 结构
|
||||
type SendTestNotificationRequest struct {
|
||||
// Type 指定要测试的通知渠道
|
||||
// @enum(smtp, wechat, lark, log)
|
||||
Type notify.NotifierType `json:"type" binding:"required"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user