Procházet zdrojové kódy

fix 修复 postgres 数据库用户名密码使用变量错误

疯狂的狮子li před 3 roky
rodič
revize
0b1052bb80

+ 2 - 2
config/nacos/ruoyi-gen.yml

@@ -23,8 +23,8 @@ spring:
 #          type: ${spring.datasource.type}
 #          driverClassName: org.postgresql.Driver
 #          url: ${datasource.system-postgres.url}
-#          username: ${datasource.system-postgres.url}
-#          password: ${datasource.system-postgres.url}
+#          username: ${datasource.system-postgres.username}
+#          password: ${datasource.system-postgres.password}
 
 # 代码生成
 gen:

+ 2 - 2
config/nacos/ruoyi-resource.yml

@@ -23,8 +23,8 @@ spring:
 #          type: ${spring.datasource.type}
 #          driverClassName: org.postgresql.Driver
 #          url: ${datasource.system-postgres.url}
-#          username: ${datasource.system-postgres.url}
-#          password: ${datasource.system-postgres.url}
+#          username: ${datasource.system-postgres.username}
+#          password: ${datasource.system-postgres.password}
 
 mail:
   enabled: false

+ 2 - 2
config/nacos/ruoyi-system.yml

@@ -23,5 +23,5 @@ spring:
 #          type: ${spring.datasource.type}
 #          driverClassName: org.postgresql.Driver
 #          url: ${datasource.system-postgres.url}
-#          username: ${datasource.system-postgres.url}
-#          password: ${datasource.system-postgres.url}
+#          username: ${datasource.system-postgres.username}
+#          password: ${datasource.system-postgres.password}