1
This commit is contained in:
parent
fe8e06e3a4
commit
806ac59d8c
@ -38,6 +38,14 @@ func (this *mail) loadFromDb(ds *f5.DataSet) {
|
||||
this.expireTime = q5.ToInt32(ds.GetByName("expireTime"))
|
||||
this.userRegStartTime = q5.ToInt32(ds.GetByName("user_reg_start_time"))
|
||||
this.userRegEndTime = q5.ToInt32(ds.GetByName("user_reg_end_time"))
|
||||
{
|
||||
attachmentsStr := ds.GetByName("attachments")
|
||||
if attachmentsStr != "" {
|
||||
if err := q5.DecodeJson(attachmentsStr, &this.attachments); err != nil {
|
||||
panic("mail.loadFromDb parse attachments error " + q5.ToString(this.mailId))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (this *mail) isType(mailType int32) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user