update: API错误信息提醒

This commit is contained in:
sjlleo
2022-06-10 21:34:40 +08:00
parent 4035dd7183
commit e4cacc569e

View File

@@ -21,7 +21,7 @@ func LeoIP(ip string) (*IPGeoData, error) {
if res.Get("Message").String() != "" {
return &IPGeoData{
Country: res.Get("Message").String(),
Prov: res.Get("Message").String(),
}, nil
}