This commit is contained in:
wangchuxiao
2023-03-08 17:29:03 +08:00
parent 345bf3a882
commit 9ce50095b5
23 changed files with 89 additions and 128 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func run(port int) error {
if port == 0 {
port = config.Config.Api.GinPort[0]
}
zk, err := openKeeper.NewClient(config.Config.Zookeeper.ZkAddr, "", 10, "", "")
zk, err := openKeeper.NewClient(config.Config.Zookeeper.ZkAddr, "", 10, config.Config.Zookeeper.UserName, config.Config.Zookeeper.Password)
if err != nil {
return err
}