feat: 新增养成管理后台
This commit is contained in:
@@ -172,6 +172,19 @@ type (
|
||||
// Switch 更新CURD列表开关
|
||||
Switch(ctx context.Context, in *sysin.CurdDemoSwitchInp) (err error)
|
||||
}
|
||||
ISysCultivateFlower interface {
|
||||
List(ctx context.Context, in *sysin.CultivateFlowerListInp) (list []*sysin.CultivateFlowerListModel, totalCount int, err error)
|
||||
View(ctx context.Context, in *sysin.CultivateFlowerViewInp) (res *sysin.CultivateFlowerViewModel, err error)
|
||||
Edit(ctx context.Context, in *sysin.CultivateFlowerEditInp) (err error)
|
||||
Status(ctx context.Context, in *sysin.CultivateFlowerStatusInp) (err error)
|
||||
}
|
||||
ISysCultivateContent interface {
|
||||
List(ctx context.Context, in *sysin.CultivateContentListInp) (list []*sysin.CultivateContentListModel, totalCount int, err error)
|
||||
Review(ctx context.Context, in *sysin.CultivateContentReviewInp) error
|
||||
ReportList(ctx context.Context, in *sysin.CultivateReportListInp) (list []*sysin.CultivateReportListModel, totalCount int, err error)
|
||||
ReportHandle(ctx context.Context, in *sysin.CultivateReportHandleInp) error
|
||||
LogList(ctx context.Context, in *sysin.CultivateOperationLogListInp) (list []*sysin.CultivateOperationLogListModel, totalCount int, err error)
|
||||
}
|
||||
ISysImTenant interface {
|
||||
// Model IM租户ORM模型
|
||||
Model(ctx context.Context, option ...*handler.Option) *gdb.Model
|
||||
@@ -767,6 +780,8 @@ var (
|
||||
localSysCron ISysCron
|
||||
localSysCronGroup ISysCronGroup
|
||||
localSysCurdDemo ISysCurdDemo
|
||||
localSysCultivateFlower ISysCultivateFlower
|
||||
localSysCultivateContent ISysCultivateContent
|
||||
localSysImTenant ISysImTenant
|
||||
localSysImRegistration ISysImRegistration
|
||||
localSysImInvite ISysImInvite
|
||||
@@ -901,6 +916,26 @@ func RegisterSysCurdDemo(i ISysCurdDemo) {
|
||||
localSysCurdDemo = i
|
||||
}
|
||||
|
||||
func SysCultivateFlower() ISysCultivateFlower {
|
||||
if localSysCultivateFlower == nil {
|
||||
panic("implement not found for interface ISysCultivateFlower, forgot register?")
|
||||
}
|
||||
return localSysCultivateFlower
|
||||
}
|
||||
|
||||
func RegisterSysCultivateFlower(i ISysCultivateFlower) {
|
||||
localSysCultivateFlower = i
|
||||
}
|
||||
|
||||
func SysCultivateContent() ISysCultivateContent {
|
||||
if localSysCultivateContent == nil {
|
||||
panic("implement not found for interface ISysCultivateContent, forgot register?")
|
||||
}
|
||||
return localSysCultivateContent
|
||||
}
|
||||
|
||||
func RegisterSysCultivateContent(i ISysCultivateContent) { localSysCultivateContent = i }
|
||||
|
||||
func SysImTenant() ISysImTenant {
|
||||
if localSysImTenant == nil {
|
||||
panic("implement not found for interface ISysImTenant, forgot register?")
|
||||
|
||||
Reference in New Issue
Block a user