修复BUG。离线库为国外, API 判断为国内无限循环

This commit is contained in:
2025-01-16 14:04:02 +08:00
parent 5a7511427f
commit 612cc35514
4 changed files with 55 additions and 31 deletions

View File

@@ -143,5 +143,5 @@ func curl_(IP_ADDR string) (string, error) {
}
*/
return fmt.Sprintf("%s%s\n", HTPP_JSON.Data.Continent, HTPP_JSON.Data.Country), err
return fmt.Sprintf("%s%s", HTPP_JSON.Data.Continent, HTPP_JSON.Data.Country), err
}