ruoyi-gateway-strong3.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. spring:
  2. redis:
  3. host: 10.16.4.12
  4. port: 6379
  5. password:
  6. database: 10
  7. cloud:
  8. gateway:
  9. discovery:
  10. locator:
  11. lowerCaseServiceId: true
  12. enabled: true
  13. routes:
  14. # 认证中心
  15. - id: ruoyi-auth
  16. uri: lb://ruoyi-auth
  17. predicates:
  18. - Path=/auth/**
  19. filters:
  20. # 验证码处理
  21. - CacheRequestFilter
  22. - ValidateCodeFilter
  23. - StripPrefix=1
  24. # 代码生成
  25. - id: ruoyi-gen
  26. uri: lb://ruoyi-gen
  27. predicates:
  28. - Path=/code/**
  29. filters:
  30. - StripPrefix=1
  31. # 定时任务
  32. - id: ruoyi-job
  33. uri: lb://ruoyi-job
  34. predicates:
  35. - Path=/schedule/**
  36. filters:
  37. - StripPrefix=1
  38. # 系统模块
  39. - id: ruoyi-system
  40. uri: lb://ruoyi-system
  41. predicates:
  42. - Path=/system/**
  43. filters:
  44. - StripPrefix=1
  45. # 文件服务
  46. - id: ruoyi-file
  47. uri: lb://ruoyi-file
  48. predicates:
  49. - Path=/file/**
  50. filters:
  51. - StripPrefix=1
  52. # 社区服务
  53. - id: train-community
  54. uri: lb://train-community
  55. predicates:
  56. - Path=/community/**
  57. filters:
  58. - StripPrefix=1
  59. # 基础资源库
  60. - id: train-resource
  61. uri: lb://train-resource
  62. predicates:
  63. - Path=/resource/**
  64. filters:
  65. - StripPrefix=1
  66. #教育教学模块
  67. - id: train-education
  68. uri: lb://train-education
  69. predicates:
  70. - Path=/education/**
  71. filters:
  72. - StripPrefix=1
  73. #音视频云存储等
  74. - id: train-video
  75. uri: lb://train-video
  76. predicates:
  77. - Path=/video/**
  78. filters:
  79. - StripPrefix=1
  80. - id: train-video
  81. uri: wss://train-video
  82. predicates:
  83. - Path=/video/**
  84. #内部管理服务
  85. - id: train-management
  86. uri: lb://train-management
  87. predicates:
  88. - Path=/management/**
  89. filters:
  90. - StripPrefix=1
  91. #统计查询服务
  92. - id: train-statistic
  93. uri: lb://train-statistic
  94. predicates:
  95. - Path=/statistic/**
  96. filters:
  97. - StripPrefix=1
  98. # 测试
  99. - id: ruoyi-mymo
  100. uri: lb://ruoyi-mymo
  101. predicates:
  102. - Path=/mymo/**
  103. filters:
  104. - StripPrefix=1
  105. # 不校验白名单
  106. ignore:
  107. whites:
  108. - /auth/logout
  109. - /auth/login
  110. - /auth/app/logout
  111. - /auth/app/phoneLogin
  112. - /auth/app/wxLogin
  113. - /auth/app/sendVerify
  114. - /auth/app/register
  115. - /auth/app/student/getStuOpenId
  116. - /auth/manage/login
  117. - /meetingsCallback/meetingEnd
  118. - /meetingsCallback/pullVideoNotice
  119. - /education/app/smsRedis
  120. - /*/app/home/*
  121. - /*/v2/api-docs
  122. - /csrf
  123. - /education/studentVenue/selectStudentVenueIfStatus12
  124. - /education/studentVenue/selectStudentVenuePlan
  125. - /education/manage/app/keynoteAddress/export
  126. - /education/manage/app/keynoteAddress/getInfo
  127. - /video/websocket
  128. - /video/AVChatRoom/thirdPartyCallbacks
  129. - /video/rec/callBack
  130. - /video/rec/roomCallback
  131. - /video/TencentOCR/idCard
  132. - /education/app/manual/list
  133. - /education/app/classScheduleCard/list
  134. - /education/app/courseSchedule/infos/*
  135. - /education/app/student/studentNameList
  136. - /resource/app/teacher/queryTeacherInfos/*
  137. - /resource/manage/app/library/queryBaseLibraryDesc/*
  138. - /education/app/manualConfig/infos/*
  139. - /education/app/team/infos/*
  140. - /education/app/exam/*
  141. - /education/app/*
  142. - /education/eStudentTestPaper/*
  143. - /auth/app/getAppId
  144. - /resource/student/exportTemplate