1
This commit is contained in:
parent
17a07580b1
commit
afe8d82426
@ -28,7 +28,7 @@ type Mail struct {
|
||||
Subject string `gorm:"column:subject" json:"subject"`
|
||||
Content string `gorm:"column:content" json:"content"`
|
||||
Recipients []string `gorm:"column:recipients;serializer:json" json:"recipients"`
|
||||
Attachments []common.Attachment `gorm:"column:attachments" json:"attachments"`
|
||||
Attachments []common.Attachment `gorm:"column:attachments;serializer:json" json:"attachments"`
|
||||
Deleted int32 `gorm:"column:deleted" json:"deleted"`
|
||||
SendTime int32 `gorm:"column:sendtime" json:"sendtime"`
|
||||
UserRegStartTime int32 `gorm:"column:user_reg_start_time" json:"user_reg_start_time"`
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
)
|
||||
|
||||
type attachment struct {
|
||||
itemId int32 `json:"item_id"`
|
||||
itemNum int32 `json:"item_num"`
|
||||
itemId int32 `json:"itemid"`
|
||||
itemNum int32 `json:"itemnum"`
|
||||
}
|
||||
|
||||
type mail struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user