更改DB域名

This commit is contained in:
Raymond Yang 2023-08-10 12:23:26 +08:00
parent 9618374942
commit 42356d0f88
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import org.litote.kmongo.*
import org.litote.kmongo.id.toId
object MemberRecordService {
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@www.ray650128.com:27017")
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@ray650128.com:27017")
private val database = client.getDatabase("pc_re_dive_clan_battle")
private val recordCollection = database.getCollection<MemberRecord>()

View File

@ -6,7 +6,7 @@ import org.litote.kmongo.*
import org.litote.kmongo.id.toId
object MemberService {
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@www.ray650128.com:27017")
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@ray650128.com:27017")
private val database = client.getDatabase("pc_re_dive_clan_battle")
private val memberCollection = database.getCollection<Member>()