service.go 504 B

12345678910111213141516171819202122232425262728
  1. package service
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/core/application"
  4. )
  5. const (
  6. dbSchema = "erpims"
  7. )
  8. type Service interface {
  9. Init(appInstance *application.App) error
  10. Destroy() error
  11. }
  12. var RegisteredServices = []Service{
  13. /* HAC: REGISTER SERVICE */
  14. versionService,
  15. sqlExecutorService,
  16. configurationService,
  17. operateLogService,
  18. bannerService,
  19. aboutUsService,
  20. commonUseWebsiteService,
  21. announcementPolicyInfoService,
  22. advertisingService,
  23. /* HAC: END REGISTER SERVICE */
  24. }