application-dev.yml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. spring:
  2. autoconfigure:
  3. #自动化配置 例外处理
  4. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  5. datasource:
  6. type: com.alibaba.druid.pool.DruidDataSource
  7. driver-class-name: com.mysql.cj.jdbc.Driver
  8. url: jdbc:mysql://10.150.10.136:3308/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false&testWhileIdle=true
  9. username: data_tl
  10. password: qwe123QWE
  11. druid:
  12. # 验证连接的有效性
  13. test-while-idle: true
  14. # 获取连接时候验证,会影响性能
  15. test-on-borrow: true
  16. # 空闲连接回收的时间间隔,与test-while-idle一起使用,设置5分钟
  17. time-between-eviction-runs-millis: 300000
  18. # 连接池空闲连接的有效时间 ,设置30分钟
  19. min-evictable-idle-time-millis: 1800000
  20. max-active: 200
  21. dynamic:
  22. primary: master
  23. datasource:
  24. master:
  25. driver-class-name: com.mysql.cj.jdbc.Driver
  26. url: jdbc:mysql://10.150.10.136:3308/tl?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false&testWhileIdle=true
  27. username: data_tl
  28. password: qwe123QWE
  29. redis:
  30. database: 11
  31. host: 10.150.10.136
  32. port: 6379
  33. password: 9mwar,BNq}oMa63cUd?R # 密码(默认为空)
  34. timeout: 36000ms # 连接超时时长(毫秒)
  35. jedis:
  36. pool:
  37. max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
  38. max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
  39. max-idle: 10 # 连接池中的最大空闲连接
  40. min-idle: 5 # 连接池中的最小空闲连接
  41. logging:
  42. level:
  43. org.camunda: debug #打印camunda 日志 一般用于 查看camunda 执行sql
  44. # 课表时段
  45. timetable:
  46. summer-start: 05-01
  47. summer-end: 09-30
  48. winter-start: 10-01
  49. winter-end: 04-30
  50. xjrsoft:
  51. # 学生限流配置
  52. ratelimit:
  53. enabled: false #是否开启限流
  54. timeout: 5000 #限流时间(秒)
  55. # 短信验证码 有效期 单位分钟
  56. oss:
  57. #enabled: true
  58. cloud-type: minio
  59. access-key: root
  60. secret-key: qwe123QWE
  61. endpoint: http://10.150.10.140:9000
  62. endpoint-preview: http://10.150.10.140:9000
  63. bucket-name: learun
  64. prefix: xjr
  65. generate:
  66. webPath: E:\code\font\xjrsoft-vue3 #生成代码的路径
  67. appPath: E:\code\uniapp\xjrsoft-uni #前端app
  68. common:
  69. druid-account: admin # druid 监控账户
  70. druid-password: admin # druid 监控密码
  71. default-password: "Aa123456." #默认密码(用户重置密码后为该密码)
  72. domain-api: http://10.150.10.139:8888/api #api域名地址
  73. # domain-app: https://yxh-web.ngrok.yingcaibx.com/# #app域名地址
  74. #domain-app: http://172.19.17.106:5173/app/# #app域名地址
  75. domain-app: http://10.150.10.139:8888/app/# #app域名地址
  76. domain-web: http://10.150.10.139:8888 #web域名地址
  77. # domain-api: http://127.0.0.1:9000/api #api域名地址
  78. # domain-web: http://127.0.0.1:9000 #web域名地址
  79. white-list:
  80. - 192.168.0.139
  81. exclude-urls:
  82. - /favicon.ico #网站图标
  83. - /webjars/** #swagger(knife4j) 接口文档必要资源
  84. - /swagger-resources/** #swagger(knife4j) 接口文档必要资源
  85. - /v2/api-docs #swagger(knife4j) 接口文档必要资源
  86. - /doc.html #swagger(knife4j) 接口文档必要资源
  87. - /druid/** #druid 监控
  88. - /ureport/**
  89. - /system/captcha # 验证码
  90. - /system/imgcaptcha #图形验证码
  91. - /system/loginCaptcha # 手机验证登录
  92. - /system/login # 登录接口
  93. - /system/logout # 登出接口
  94. - /camunda/** # camunda工作台
  95. - /language/** # language
  96. - /${magic-api.web}/** # magic-api web
  97. - /${magic-api.prefix}/** # magic-api 前缀
  98. - /bi/project/info # 桌面
  99. - /system/qrcode-login # 扫码登录
  100. - /oauth/callback/** #回调
  101. - /system/loginByCode #编号登录
  102. - /organization/user/register # 注册
  103. - /oauth2/* # oauth2
  104. - /system/bindOpenid # 绑定openid
  105. - /schedule/schedule/receive-msg
  106. - /system/check-QR-code-login
  107. - /system/loginQRCode
  108. - /system/QR-code-login
  109. - /event/receivePeople
  110. - /event/receiveCar
  111. - /event/visit
  112. - /system/findUserByCode
  113. - /system/imgcaptcha-answer
  114. - /student/basestudentinfo/studentinfoByKeyWord
  115. - /student/pbCseFeeobjupdate/enrollment-statistics-start
  116. approval-time: 300 # 审核超时时间 目前设为5分钟
  117. email:
  118. host: #邮件服务器的SMTP地址,可选,默认为smtp.<发件人邮箱后缀>
  119. port: # 邮件服务器的SMTP端口,可选,默认25
  120. auth: true
  121. from: # 发件人(必须正确,否则发送失败
  122. user: # 用户名,默认为发件人邮箱前缀
  123. pass: # 密码(注意,某些邮箱需要为SMTP服务单独设置授权码,详情查看相关帮助
  124. enterpriseWeChat:
  125. corpid: ww00ce9acc4f193f18
  126. secret: 02YXuJw_vYYJiDQvG-eKlXCUTDAaAJ1z7m9t8_hqoa0
  127. secret1: z3R17Od4ROW1zPisguiQmTfx0NvcYKmoIu19-82vdtU
  128. agentid: 1000003
  129. mpWeChat:
  130. appKey: wx628ac080912b2a98
  131. appSecret: f05692a5d71a9568d01a461928dd2b8f
  132. appletWeChat:
  133. appKey: wx72e974483a9174e4
  134. appSecret: 3bbe99f6964c9f4fc11a8aa1224ac4b3
  135. weChatMessageTemplate:
  136. commonTemplate: qmpXORPM1Cocqn503Qa4OkNNQ0uxlj2-ed9m6uWO-v4
  137. assessmentTemplate: ehYfXni7exZUmt6dJX4Ukbm9ETarFfKLfXVYwNnjKMc
  138. attendanceMsgLateTemplate: o-KboOcqcJ3YpjPN2xwgM_NcjN-0yzwWlDDXYfTM0Q4 # 迟到消息
  139. attendanceMsgAbsenceTemplate: uPPJkWOSronnB_GJolcnarbl8qosDvsadxl0qL_4jdQ # 缺勤
  140. outInTemplate: ERkMebHjsziZO6WBrlzsbENiEuRR4vrlhJw5LR4aDr8
  141. attenDanceWarnTemplate: Fg4AWVQRGernl0PiJQ8gRgCUFHEGZuizlClQNuVhqu4
  142. dingtalk:
  143. appKey: dingaex2gok1rllumlqs
  144. appSecret: Nv2pe-UoR0Z_Iw8d29laZfL3kH6ElmhZpRdPwI7SvmKJmaCI29qCrSlFEiMM88MB
  145. ureport:
  146. account: xjrsoft
  147. password: 123456
  148. hikvision:
  149. host: 219.153.208.43:30443
  150. appKey: 21350095
  151. appSecret: LXi9rE2fm8IfRoLnTA2G
  152. people-url: http://ff.cf.yingcaibx.com/event/receivePeople
  153. car-url: http://ff.cf.yingcaibx.com/event/receiveCar
  154. visit-url: http://ff.cf.yingcaibx.com/event/visit
  155. keycloak:
  156. url: http://192.168.0.221:12829/auth/
  157. realm: test
  158. client-id: tzx-java
  159. secret: yo5kPZlHgmodz4vVASH61zq8i6gMhkk2
  160. user-name: tzx #如果不需要后端再次 可以不需要
  161. password: "000000" #可以不需要
  162. payload: code #从payload 某个key中取值 登录
  163. chatgpt:
  164. proxy-type: 0 # 不开启代理 == -1 http == 0 socket == 1
  165. proxy: 192.168.0.220
  166. port: 1081
  167. api-key: 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 #your api-key. It can be generated in the link https://beta.openai.com/docs/quickstart/adjust-your-settings
  168. # some properties as below have default values. Of course, you can change them.
  169. max-tokens: 4000 # The maximum number of tokens to generate in the completion.The token count of your prompt plus max_tokens cannot exceed the model's context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096).
  170. # model: text-davinci-003 # GPT-3 models can understand and generate natural language. We offer four main models with different levels of power suitable for different tasks. Davinci is the most capable model, and Ada is the fastest.
  171. # temperature: 0.0 # What sampling temperature to use. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer.We generally recommend altering this or top_p but not both.
  172. # top-p: 1.0 # An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.We generally recommend altering this or temperature but not both.
  173. sms:
  174. platform: HW_CLOUD #默认使用短信服务商
  175. captcha-sender: 8823053028920 #验证码通道号
  176. captcha-template-id: 97c6fcf9fd0149b39c0ed0e53480116f # 验证码 模板id
  177. notify-sender: 8823053111843 # 提示类提示短信 通道号
  178. notify-template-id: d424de0f2a9244ac9d2f2685cd158635 #提示类短信 模板id
  179. circulated-sender: 8823053111843 # 提示类传阅短信 通道号
  180. circulated-template-id: 5c179070a72447c79568ac22371be803 #提示类传阅短信 模板id
  181. timeout-sender: 8823053111843 # 提示类短超时信 通道号
  182. timeout-template-id: 5c179070a72447c79568ac22371be803 #提示类超时短信 模板id
  183. ctccsms: #电信三网短信配置
  184. app-key: 105649
  185. app-secret: c3868470891526d9
  186. signature: "【重庆市铜梁职业教育中心】"
  187. license:
  188. enabled: false #是否需要验证
  189. login-max: 100 #最大登陆人数
  190. start-time: 2023-07-01 00:00:00 #开始时间
  191. end-time: 2023-07-03 17:00:00 #结束时间
  192. company-name: xxx #公司名
  193. contact-number: xxx #联系人
  194. sms:
  195. huawei:
  196. #华为短信appKey
  197. appKey: 69s6YyLsrLgWW99BJ5K1K26WiF29
  198. #华为短信appSecret
  199. app-secret: RuE1YajkI6FC4Gh2WjVtOpychRGL
  200. #短信签名
  201. signature: 湘北智造
  202. #通道号
  203. sender: 8823053028920
  204. #模板ID 如果使用自定义模板发送方法可不设定
  205. template-id: 97c6fcf9fd0149b39c0ed0e53480116f
  206. #华为回调地址,如不需要可不设置或为空
  207. statusCallBack:
  208. #华为分配的app请求地址
  209. url: https://smsapi.cn-north-4.myhuaweicloud.com:443