This commit is contained in:
liyp 2024-04-14 21:57:57 +08:00
parent de965134fa
commit fe4654e9e1

View file

@ -21,7 +21,7 @@ func (a *Ip) GetMsg() string {
raw_msg := strings.TrimRight(a.RawMsg, "\n")
fmt.Println("raw_msg:", raw_msg)
parms := strings.Split(raw_msg, " ")
url := "https://api.ip.sb/geoip/" + parms[1]
url := "https://api.ip.sb/geoip/" + parms[0]
// fmt.Println("url: ", url)