zhaoxian 1 anno fa
parent
commit
d5816e0fe6
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      ruixuan-admin/src/main/resources/application-dev.yml

+ 5 - 0
ruixuan-admin/src/main/resources/application-dev.yml

@@ -137,11 +137,16 @@ spring:
         max-active: 8
         # #连接池最大阻塞等待时间(使用负值表示没有限制)
         max-wait: -1ms
+  # mongodb 配置
   data:
     mongodb:
       host: 192.168.0.99
       port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
       database: admin
+      authentication-database: admin
 
 # token配置
 token: