初次提交

This commit is contained in:
liuzhihang1
2024-06-26 20:45:23 +08:00
parent 4b388a5be1
commit 831ea9889f
57 changed files with 3945 additions and 0 deletions

14
model/push_msg.go Normal file
View File

@@ -0,0 +1,14 @@
package model
type Push struct {
Id int64 `gorm:"column:id;NOT NULL" json:"id"`
Method string `gorm:"column:method;NOT NULL" json:"method"`
Url string `gorm:"column:url;NOT NULL" json:"url"`
Body string `gorm:"column:body;NOT NULL" json:"body"`
Remark string `gorm:"column:remark;NOT NULL" json:"remark"`
Enable bool `gorm:"column:enable;NOT NULL" json:"enable"`
}
func (*Push) TableName() string {
return "push"
}