2b19937065
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 25s
CI / chore (push) Successful in 24s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 24s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 0s
19 lines
266 B
Go
19 lines
266 B
Go
package model
|
|
|
|
import (
|
|
"lone-services/pkg/modelbase"
|
|
)
|
|
|
|
type SmsLogModel struct {
|
|
modelbase.Base
|
|
}
|
|
|
|
func (m SmsLogModel) TableName() string {
|
|
return modelbase.Prefix() + "sms_log"
|
|
}
|
|
|
|
func (m SmsLogModel) Init() SmsLogModel {
|
|
m.Table = m.TableName()
|
|
return m
|
|
}
|