eight
2025-04-10 d40cde3bca854c21c869cb35d25ece4aa7dac265
jh-server/src/main/resources/application-local.yaml
@@ -1,5 +1,10 @@
server:
  host: 192.168.2.100
  port: 48080
--- #################### 医院平台服务地址 ####################
openfeign:
  server: http://127.0.0.1:8080
--- #################### 数据库相关配置 ####################
spring:
@@ -46,7 +51,7 @@
      primary: master
      datasource:
        master:
          url: jdbc:mysql://rm-cn-lbj3spkaz000cx2o.rwlb.rds.aliyuncs.com:3306/lihu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          url: jdbc:mysql://192.168.2.200:3306/lihu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          #          url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例
          #          url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例
          #          url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例
@@ -54,8 +59,8 @@
          #          url: jdbc:dm://127.0.0.1:5236?schema=RUOYI_VUE_PRO # DM 连接的示例
          #          url: jdbc:kingbase8://127.0.0.1:54321/test  # 人大金仓 KingbaseES 连接的示例
          #          url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例
          username: yinyu
          password: Root@yinyu
          username: root
          password: Smartor.2023
          #          username: sa # SQL Server 连接的示例
          #          password: Jh@2024 # SQL Server 连接的示例
          #          username: SYSDBA # DM 连接的示例
@@ -64,16 +69,16 @@
          #          password: Jh@2024 # OpenGauss 连接的示例
        slave: # 模拟从库,可根据自己需要修改
          lazy: true # 开启懒加载,保证启动速度
          url: jdbc:mysql://rm-cn-lbj3spkaz000cx2o.rwlb.rds.aliyuncs.com:3306/lihu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          username: yinyu
          password: Root@yinyu
          url: jdbc:mysql://192.168.2.200:3306/lihu?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          username: root
          password: Smartor.2023
  # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
  redis:
    host: r-bp1zyjl0g07e1ry08rpd.redis.rds.aliyuncs.com # 地址
    port: 6379 # 端口
    database: 2 # 数据库索引
    password: Root@yinyu # 密码,建议生产环境开启
    host: 192.168.2.200   #r-bp1zyjl0g07e1ry08rpd.redis.rds.aliyuncs.com # 地址
    port: 6379            #端口 6379
    database: 15 # 数据库索引
    password: Smartor.2023    #Root@yinyu # 密码,建议生产环境开启
--- #################### 定时任务相关配置 ####################
@@ -177,6 +182,9 @@
    cn.lihu.jh.module.ai.dal.mysql: debug
    cn.lihu.jh.module.ecg.dal.mysql: debug
    org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示
    org.springframework.cloud.openfeign: debug
    feign: debug
    cn.lihu.jh.module.ecg.feign: debug
debug: false
@@ -213,9 +221,9 @@
# 芋道配置项,设置当前项目所有自定义的配置
jh:
  captcha:
    enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试;
    enable: false
  security:
    mock-enable: true
    mock-enable: false
  pay:
    order-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/order # 支付渠道的【支付】回调地址
    refund-notify-url: http://yunai.natapp1.cc/admin-api/pay/notify/refund # 支付渠道的【退款】回调地址