mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-31 00:38:37 +08:00
33 lines
1.1 KiB
Go
33 lines
1.1 KiB
Go
|
// ==========================================================================
|
||
|
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||
|
// ==========================================================================
|
||
|
|
||
|
package service
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"hotgo/internal/model/input/sysin"
|
||
|
)
|
||
|
|
||
|
type ISysBlacklist interface {
|
||
|
Delete(ctx context.Context, in sysin.BlacklistDeleteInp) error
|
||
|
Edit(ctx context.Context, in sysin.BlacklistEditInp) (err error)
|
||
|
Status(ctx context.Context, in sysin.BlacklistStatusInp) (err error)
|
||
|
MaxSort(ctx context.Context, in sysin.BlacklistMaxSortInp) (*sysin.BlacklistMaxSortModel, error)
|
||
|
View(ctx context.Context, in sysin.BlacklistViewInp) (res *sysin.BlacklistViewModel, err error)
|
||
|
List(ctx context.Context, in sysin.BlacklistListInp) (list []*sysin.BlacklistListModel, totalCount int, err error)
|
||
|
}
|
||
|
|
||
|
var localSysBlacklist ISysBlacklist
|
||
|
|
||
|
func SysBlacklist() ISysBlacklist {
|
||
|
if localSysBlacklist == nil {
|
||
|
panic("implement not found for interface ISysBlacklist, forgot register?")
|
||
|
}
|
||
|
return localSysBlacklist
|
||
|
}
|
||
|
|
||
|
func RegisterSysBlacklist(i ISysBlacklist) {
|
||
|
localSysBlacklist = i
|
||
|
}
|