package sociaty import ( "go_dreamfactory/lego/base" "go_dreamfactory/lego/core" "go_dreamfactory/modules" ) const ( SociatySubTypeList = "list" SociatySubTypeMine = "mine" SociatySubTypeCreate = "create" SociatySubTypeSearch = "search" SociatySubTypeApply = "apply" SociatySubTypeApplyCanel = "applycancel" SociatySubTypeApplyList = "applylist" SociatySubTypeCancel = "cancel" SociatySubTypeDismiss = "dismiss" SociatySubTypeQuit = "quit" SociatySubTypeAgree = "agree" SociatySubTypeRefuse = "refuse" SociatySubTypeSetting = "setting" SociatySubTypeMembers = "members" SociatySubTypeAssign = "assign" SociatySubTypeDischarge = "discharge" SociatySubTypeSettingJob = "settingjob" SociatySubTypeSign = "sign" SociatySubTypeReceive = "receive" SociatySubTypeActivityReceive = "activityreceive" SociatySubTypeRank = "rank" SociatySubTypeTasklist = "tasklist" SociatySubTypeLog = "log" ) type apiComp struct { modules.MCompGate service base.IRPCXService module *Sociaty } 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.(*Sociaty) return }