application-prod.yml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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://219.153.208.35:3306/smart_campus?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&autoReconnect=true&failOverReadOnly=false
  9. username: root
  10. password: xzNDL3dcx#TyEz^a
  11. redis:
  12. database: 10
  13. host: 219.153.208.35
  14. port: 6379
  15. password: huHJMucfC!tJ59Ri # 密码(默认为空)
  16. timeout: 6000ms # 连接超时时长(毫秒)
  17. jedis:
  18. pool:
  19. max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
  20. max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
  21. max-idle: 10 # 连接池中的最大空闲连接
  22. min-idle: 5 # 连接池中的最小空闲连接
  23. logging:
  24. level:
  25. org.camunda: debug #打印camunda 日志 一般用于 查看camunda 执行sql
  26. # 课表时段
  27. timetable:
  28. summer-start: 05-01
  29. summer-end: 09-30
  30. winter-start: 10-01
  31. winter-end: 04-30
  32. mqtt:
  33. username: admin
  34. password: c94kKEhkYfMSiQh8
  35. server: tcp://219.153.208.35:1880
  36. qos: 1
  37. xjrsoft:
  38. oss:
  39. #enabled: true
  40. cloud-type: minio
  41. access-key: 2LHjFEvzGaSTw7vt
  42. secret-key: taHsgYz9hk7ZrQZD
  43. endpoint: http://219.153.208.41:9000
  44. endpoint-preview: https://zhxy.cqtlzjzx.com/minio
  45. bucket-name: static
  46. prefix: xjr
  47. generate:
  48. webPath: E:\code\font\xjrsoft-vue3 #生成代码的路径
  49. appPath: E:\code\uniapp\xjrsoft-uni #前端app
  50. common:
  51. druid-account: admin # druid 监控账户
  52. druid-password: admin # druid 监控密码
  53. default-password: "Aa123456." #默认密码(用户重置密码后为该密码)
  54. domain-api: https://zhxy.cqtlzjzx.com/api #api域名地址
  55. domain-app: https://zhxy.cqtlzjzx.com/app/# #app域名地址
  56. domain-web: https://zhxy.cqtlzjzx.com #web域名地址
  57. white-list:
  58. - 192.168.0.139
  59. exclude-urls:
  60. - /favicon.ico #网站图标
  61. - /webjars/** #swagger(knife4j) 接口文档必要资源
  62. - /swagger-resources/** #swagger(knife4j) 接口文档必要资源
  63. - /v2/api-docs #swagger(knife4j) 接口文档必要资源
  64. - /doc.html #swagger(knife4j) 接口文档必要资源
  65. - /druid/** #druid 监控
  66. - /ureport/**
  67. - /system/captcha # 验证码
  68. - /system/imgcaptcha #图形验证码
  69. - /system/loginCaptcha # 手机验证登录
  70. - /system/login # 登录接口
  71. - /system/logout # 登出接口
  72. - /camunda/** # camunda工作台
  73. - /language/** # language
  74. - /${magic-api.web}/** # magic-api web
  75. - /${magic-api.prefix}/** # magic-api 前缀
  76. - /bi/project/info # 桌面
  77. - /system/qrcode-login # 扫码登录
  78. - /oauth/callback/** #回调
  79. - /system/loginByCode #编号登录
  80. - /organization/user/register # 注册
  81. - /oauth2/* # oauth2
  82. - /system/bindOpenid # 绑定openid
  83. - /schedule/schedule/receive-msg
  84. - /system/check-QR-code-login
  85. - /system/loginQRCode
  86. - /system/QR-code-login
  87. - /event/receivePeople
  88. - /event/receiveCar
  89. - /event/visit
  90. - /system/findUserByCode
  91. approval-time: 300 # 审核超时时间 目前设为5分钟
  92. email:
  93. host: #邮件服务器的SMTP地址,可选,默认为smtp.<发件人邮箱后缀>
  94. port: # 邮件服务器的SMTP端口,可选,默认25
  95. auth: true
  96. from: # 发件人(必须正确,否则发送失败
  97. user: # 用户名,默认为发件人邮箱前缀
  98. pass: # 密码(注意,某些邮箱需要为SMTP服务单独设置授权码,详情查看相关帮助
  99. enterpriseWeChat:
  100. corpid: ww00ce9acc4f193f18
  101. secret: 02YXuJw_vYYJiDQvG-eKlXCUTDAaAJ1z7m9t8_hqoa0
  102. secret1: z3R17Od4ROW1zPisguiQmTfx0NvcYKmoIu19-82vdtU
  103. agentid: 1000003
  104. mpWeChat:
  105. appKey: wx93175d7fe68cd170
  106. appSecret: 4bab1c5ccd9d4d1d7854464d7251becf
  107. weChatMessageTemplate:
  108. commonTemplate: qmpXORPM1Cocqn503Qa4OkNNQ0uxlj2-ed9m6uWO-v4
  109. assessmentTemplate: ehYfXni7exZUmt6dJX4Ukbm9ETarFfKLfXVYwNnjKMc
  110. attendanceMessageTemplate: uPPJkWOSronnB_GJolcnatrQzGjJREIKL7JZzOieoew
  111. outInTemplate: ERkMebHjsziZO6WBrlzsbENiEuRR4vrlhJw5LR4aDr8
  112. attenDanceWarnTemplate: Fg4AWVQRGernl0PiJQ8gRgCUFHEGZuizlClQNuVhqu4
  113. appletWeChat:
  114. appKey: wx72e974483a9174e4
  115. appSecret: 3bbe99f6964c9f4fc11a8aa1224ac4b3
  116. dingtalk:
  117. appKey: dingaex2gok1rllumlqs
  118. appSecret: Nv2pe-UoR0Z_Iw8d29laZfL3kH6ElmhZpRdPwI7SvmKJmaCI29qCrSlFEiMM88MB
  119. ureport:
  120. account: xjrsoft
  121. password: 123456
  122. hikvision:
  123. host: 219.153.208.43:30443
  124. appKey: 21350095
  125. appSecret: LXi9rE2fm8IfRoLnTA2G
  126. people-url: https://zhxy.cqtlzjzx.com/api/event/receivePeople
  127. car-url: https://zhxy.cqtlzjzx.com/api/event/receiveCar
  128. visit-url: https://zhxy.cqtlzjzx.com/api/event/visit
  129. keycloak:
  130. url: http://192.168.0.221:12829/auth/
  131. realm: test
  132. client-id: tzx-java
  133. secret: yo5kPZlHgmodz4vVASH61zq8i6gMhkk2
  134. user-name: tzx #如果不需要后端再次 可以不需要
  135. password: "000000" #可以不需要
  136. payload: code #从payload 某个key中取值 登录
  137. chatgpt:
  138. proxy-type: 0 # 不开启代理 == -1 http == 0 socket == 1
  139. proxy: 192.168.0.220
  140. port: 1081
  141. 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
  142. # some properties as below have default values. Of course, you can change them.
  143. 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).
  144. # 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.
  145. # 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.
  146. # 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.
  147. sms:
  148. platform: HW_CLOUD #默认使用短信服务商
  149. captcha-sender: 8823053028920 #验证码通道号
  150. captcha-template-id: 97c6fcf9fd0149b39c0ed0e53480116f # 验证码 模板id
  151. notify-sender: 8823053111843 # 提示类提示短信 通道号
  152. notify-template-id: d424de0f2a9244ac9d2f2685cd158635 #提示类短信 模板id
  153. circulated-sender: 8823053111843 # 提示类传阅短信 通道号
  154. circulated-template-id: 5c179070a72447c79568ac22371be803 #提示类传阅短信 模板id
  155. timeout-sender: 8823053111843 # 提示类短超时信 通道号
  156. timeout-template-id: 5c179070a72447c79568ac22371be803 #提示类超时短信 模板id
  157. ctccsms: #电信三网短信配置
  158. app-key: 105649
  159. app-secret: c3868470891526d9
  160. signature: "【重庆市铜梁职业教育中心】"
  161. license:
  162. enabled: false #是否需要验证
  163. login-max: 100 #最大登陆人数
  164. start-time: 2023-07-01 00:00:00 #开始时间
  165. end-time: 2023-07-03 17:00:00 #结束时间
  166. company-name: xxx #公司名
  167. contact-number: xxx #联系人
  168. sms:
  169. huawei:
  170. #华为短信appKey
  171. appKey: 69s6YyLsrLgWW99BJ5K1K26WiF29
  172. #华为短信appSecret
  173. app-secret: RuE1YajkI6FC4Gh2WjVtOpychRGL
  174. #短信签名
  175. signature: 湘北智造
  176. #通道号
  177. sender: 8823053028920
  178. #模板ID 如果使用自定义模板发送方法可不设定
  179. template-id: 97c6fcf9fd0149b39c0ed0e53480116f
  180. #华为回调地址,如不需要可不设置或为空
  181. statusCallBack:
  182. #华为分配的app请求地址
  183. url: https://smsapi.cn-north-4.myhuaweicloud.com:443