mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-06 06:35:47 +08:00
feat: 新增系统全局配置&修改账号密码
This commit is contained in:
18
server/internal/sys/domain/repository/config.go
Normal file
18
server/internal/sys/domain/repository/config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"mayfly-go/internal/sys/domain/entity"
|
||||
"mayfly-go/pkg/model"
|
||||
)
|
||||
|
||||
type Config interface {
|
||||
GetPageList(condition *entity.Config, pageParam *model.PageParam, toEntity interface{}, orderBy ...string) *model.PageResult
|
||||
|
||||
Insert(config *entity.Config)
|
||||
|
||||
Update(config *entity.Config)
|
||||
|
||||
GetConfig(config *entity.Config, cols ...string) error
|
||||
|
||||
GetByCondition(condition *entity.Config, cols ...string) error
|
||||
}
|
||||
Reference in New Issue
Block a user