example.go 502 B

123456789101112131415161718192021
  1. package example
  2. import (
  3. "baize-demo/project/gateway/config"
  4. "git.sxidc.com/go-framework/baize/framework/gateway"
  5. )
  6. var (
  7. serviceVersionedUrl = config.GetConfig().ServicesConfig.ExampleBaseUrl + "/example/api/v1"
  8. )
  9. func InitGateway(builder *gateway.Builder) {
  10. classGateway(builder)
  11. studentGateway(builder)
  12. familyGateway(builder)
  13. identityGateway(builder)
  14. studentAndFamilyGateway(builder)
  15. studentAndIdentityGateway(builder)
  16. studentAndHobbyGateway(builder)
  17. classAndStudentGateway(builder)
  18. }