v2_system
This commit is contained in:
@@ -14,6 +14,7 @@ type SystemBiz interface {
|
||||
ConfigBiz() ConfigBiz
|
||||
AuditBiz() AuditBiz
|
||||
LoginLogBiz() LoginLogBiz
|
||||
CategoryBiz() CategoryBiz
|
||||
}
|
||||
|
||||
type systemBiz struct {
|
||||
@@ -59,3 +60,7 @@ func (b *systemBiz) AuditBiz() AuditBiz {
|
||||
func (b *systemBiz) LoginLogBiz() LoginLogBiz {
|
||||
return NewLoginLog(b.store)
|
||||
}
|
||||
|
||||
func (b *systemBiz) CategoryBiz() CategoryBiz {
|
||||
return NewCategory(b.store, b.redis)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user