31 lines
381 B
Go
31 lines
381 B
Go
package mt
|
|
|
|
import (
|
|
"f5"
|
|
"main/mtb"
|
|
)
|
|
|
|
type MailDb struct {
|
|
mtb.MailDb
|
|
}
|
|
|
|
type MailDbTable struct {
|
|
f5.IdMetaTable[MailDb]
|
|
selfConf *MailDb
|
|
}
|
|
|
|
func (this *MailDb) Init1() {
|
|
|
|
}
|
|
|
|
func (this *MailDbTable) GetConf() *MailDb {
|
|
return this.selfConf
|
|
}
|
|
|
|
func (this *MailDbTable) PostInit1() {
|
|
this.selfConf = this.GetById(0)
|
|
if this.selfConf == nil {
|
|
panic("mailDb error")
|
|
}
|
|
}
|