package growtask import ( "go_dreamfactory/lego/base" "go_dreamfactory/lego/core" "go_dreamfactory/modules" ) const ( GrowtaskSubTypeList = "list" //任务列表 GrowtaskSubTypeReceive = "receive" //子任务奖励领取 GrowtaskSubTypeAdvreceive = "advreceive" //进阶奖励领取 ) type apiComp struct { modules.MCompGate service base.IRPCXService module *Growtask } 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.(*Growtask) return }