diff --git a/api/notify/index.go b/api/notify/index.go index 6ef685b..a6a6615 100644 --- a/api/notify/index.go +++ b/api/notify/index.go @@ -9,8 +9,6 @@ import ( ) func Handler(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "hello telepush\n") - params := r.URL.Query() userId, _ := strconv.Atoi(params.Get("u")) msg := params.Get("m") @@ -21,5 +19,4 @@ func Handler(w http.ResponseWriter, r *http.Request) { } fmt.Fprintf(w, "send message to %d succes!", userId) - }