Browse Source

🐛 fix a bug.

master
李寻欢 9 months ago
parent
commit
ba6004ead2
  1. 2
      main.go

2
main.go

@ -43,7 +43,7 @@ func initNacos() {
portNum, _ := strconv.Atoi(port)
pp := uint64(portNum)
success, err := client.RegisterInstance(vo.RegisterInstanceParam{
Ip: "172.30.0.90",
//Ip: "172.30.0.90",
Port: pp,
Weight: 10,
Enable: true,

Loading…
Cancel
Save