1 Star 0 Fork 0

cloudtask/common

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
notify.go 401 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rick.B.Liu 提交于 2018-01-26 16:05 +08:00 . add common models.
package models
/*
通知定义
*/
type Notify struct {
Enabled bool `json:"enabled"` //通知开关
Subject string `json:"subject"` //通知标题
To string `json:"to"` //接收者
Content string `json:"content"` //通知内容
}
/*
通知设置定义
*/
type NotifySetting struct {
Succeed Notify `json:"succeed"` //成功通知
Failed Notify `json:"failed"` //失败通知
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/cloudtask/common.git
git@gitee.com:cloudtask/common.git
cloudtask
common
common
db7089b61fbe

搜索帮助