This commit is contained in:
root committed 2018-12-06 10:56:20 +08:00
1 parent c500f47e79
commit a1db5d2f47
2 files changed
+4

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ import (
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"net/url"
"strings"
@@ -118,6 +119,7 @@ func PushMessage(target string, message interface{}) {
_, err = http.DefaultClient.Do(req)
if err != nil {
log.Println("send to line error :::: ", err)
return
}
}