feat: test product

This commit is contained in:
zzw
2026-08-11 09:30:38 +08:00
parent a38fff4917
commit bdc582ad5f
22 changed files with 2730 additions and 75 deletions
+24
View File
@@ -0,0 +1,24 @@
package model
import (
"product/internal/dao"
"pkg.local/modelbase"
)
type EditLogModel struct {
modelbase.Base
}
func (m EditLogModel) TableName() string {
return modelbase.Prefix() + "edit_log"
}
func (m EditLogModel) Init() EditLogModel {
m.Table = m.TableName()
return m
}
func (m EditLogModel) Create(data *dao.EditLogCreate) error {
return m.Base.Create(data)
}