go_dreamfactory/modules/worldtask/api.go
2022-11-09 09:32:28 +08:00

25 lines
545 B
Go

package worldtask
import (
"go_dreamfactory/lego/base"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
const (
WorldtaskSubtypeStory = "story"
WorldtaskSubtypeVerifycondPush = "verifycond"
)
type apiComp struct {
modules.MCompGate
service base.IRPCXService
module *Worldtask
}
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
_ = this.MCompGate.Init(service, module, comp, options)
this.module = module.(*Worldtask)
return
}