加上容器化

This commit is contained in:
2026-08-03 22:32:14 +08:00
parent 42356d0f88
commit 80563bfb7b
5 changed files with 29 additions and 2 deletions
@@ -7,7 +7,7 @@ import org.litote.kmongo.*
import org.litote.kmongo.id.toId
object MemberRecordService {
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@ray650128.com:27017")
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@192.168.50.128:27017")
private val database = client.getDatabase("pc_re_dive_clan_battle")
private val recordCollection = database.getCollection<MemberRecord>()
@@ -6,7 +6,7 @@ import org.litote.kmongo.*
import org.litote.kmongo.id.toId
object MemberService {
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@ray650128.com:27017")
private val client = KMongo.createClient("mongodb://ray650128:Zx650128!@192.168.50.128:27017")
private val database = client.getDatabase("pc_re_dive_clan_battle")
private val memberCollection = database.getCollection<Member>()