Bläddra i källkod

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

疯狂的狮子li 3 år sedan
förälder
incheckning
0b1052bb80
3 ändrade filer med 6 tillägg och 6 borttagningar
  1. 2 2
      config/nacos/ruoyi-gen.yml
  2. 2 2
      config/nacos/ruoyi-resource.yml
  3. 2 2
      config/nacos/ruoyi-system.yml

+ 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}