fix: model.FillBaseInfo遗漏调整完善等

This commit is contained in:
meilin.huang
2024-01-09 21:37:56 +08:00
parent b7aa281611
commit 25b0ae4d2f
11 changed files with 34 additions and 53 deletions

View File

@@ -18,9 +18,9 @@ func (a *Resource) TableName() string {
return "t_sys_resource"
}
func (m *Resource) SetBaseInfo(idGenType model.IdGenType, la *model.LoginAccount) {
func (m *Resource) FillBaseInfo(idGenType model.IdGenType, la *model.LoginAccount) {
// id使用时间戳减少id冲突概率
m.Model.SetBaseInfo(model.IdGenTypeTimestamp, la)
m.Model.FillBaseInfo(model.IdGenTypeTimestamp, la)
}
const (