优化模块与服务间关系

This commit is contained in:
boyce
2019-01-31 18:15:07 +08:00
parent c54921a1f3
commit 9420b685b2
2 changed files with 20 additions and 3 deletions

View File

@@ -99,6 +99,8 @@ func (ws *CTest) OnRun() error {
pTmpModule := ws.GetModuleByType(1)
pTmpModuleTest := pTmpModule.(*CTestModule)
pTmpModuleTest.DoSomething()
pservice := testModule.GetOwnerService()
fmt.Printf("%T", pservice)
return nil
}