mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	营销活动: 新增文章管理
This commit is contained in:
		@@ -48,7 +48,7 @@ spring:
 | 
			
		||||
      primary: master
 | 
			
		||||
      datasource:
 | 
			
		||||
        master:
 | 
			
		||||
          name: ruoyi-vue-pro
 | 
			
		||||
          name: ruoyi-vue-pro2
 | 
			
		||||
          url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
 | 
			
		||||
          #          url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例
 | 
			
		||||
          #          url: jdbc:postgresql://127.0.0.1:5432/${spring.datasource.dynamic.datasource.master.name} # PostgreSQL 连接的示例
 | 
			
		||||
@@ -59,7 +59,7 @@ spring:
 | 
			
		||||
        #          username: sa
 | 
			
		||||
        #          password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W
 | 
			
		||||
        slave: # 模拟从库,可根据自己需要修改
 | 
			
		||||
          name: ruoyi-vue-pro
 | 
			
		||||
          name: ruoyi-vue-pro2
 | 
			
		||||
          lazy: true # 开启懒加载,保证启动速度
 | 
			
		||||
          url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
 | 
			
		||||
          #          url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例
 | 
			
		||||
@@ -75,8 +75,8 @@ spring:
 | 
			
		||||
  redis:
 | 
			
		||||
    host: 127.0.0.1 # 地址
 | 
			
		||||
    port: 6379 # 端口
 | 
			
		||||
    database: 0 # 数据库索引
 | 
			
		||||
#    password: dev # 密码,建议生产环境开启
 | 
			
		||||
    database: 5 # 数据库索引
 | 
			
		||||
    password: 123456 # 密码,建议生产环境开启
 | 
			
		||||
 | 
			
		||||
--- #################### 定时任务相关配置 ####################
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user