log watcher is done
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package model
|
||||
|
||||
import "lone-services/pkg/modelbase"
|
||||
import (
|
||||
"lone-services/pkg/modelbase"
|
||||
"lone-services/services/lonelog/internal/dao"
|
||||
)
|
||||
|
||||
type ActionModel struct {
|
||||
modelbase.Base
|
||||
@@ -15,6 +18,6 @@ func (m ActionModel) Init() ActionModel {
|
||||
return m
|
||||
}
|
||||
|
||||
//func (m ActionModel) Create(data *dao.Admin) error {
|
||||
// return m.Base.Create(data)
|
||||
//}
|
||||
func (m ActionModel) Create(data *dao.ActionLog) error {
|
||||
return m.Base.Create(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user