修改地址

This commit is contained in:
liyp 2024-04-21 13:43:32 +08:00
parent 0bab4ee3e4
commit 77bb290a58

View file

@ -71,7 +71,7 @@ func main() {
} }
func fetchMessageSeq(messageID int) (int, error) { func fetchMessageSeq(messageID int) (int, error) {
url := fmt.Sprintf("http://47.92.132.159:5700/get_msg?message_id=%d", messageID) url := fmt.Sprintf("http://127.0.0.1:5700/get_msg?message_id=%d", messageID)
fmt.Println("URL:", url) fmt.Println("URL:", url)
resp, err := http.Get(url) resp, err := http.Get(url)
if err != nil { if err != nil {