Closed eric-hon closed 8 years ago
看一下各个模块的日志,确认下问题
各个模块都没其他信息
[06/16/16 18:55:58] [EROR] strconv.Atoi("") error(strconv.ParseInt: parsing "": invalid syntax) 参数不对,-h 看一下吧
@thinkboy
https://github.com/Terry-Mao/goim/pull/111 修复了这个问题。单条多条推送用相同的推送接口。
eric@go:~/go/bin$ ./push 0 20000 localhost:7172 60
[06/16/16 18:55:58] [INFO] req: "/1/push", post: "{"m":{"test":1},"u":10000}", res:"{"ret":65535}", ip:"127.0.0.1:56348", time:"0.000036s" [06/16/16 18:55:58] [EROR] strconv.Atoi("") error(strconv.ParseInt: parsing "": invalid syntax) [06/16/16 18:55:58] [INFO] req: "/1/push", post: "{"m":{"test":1},"u":10000}", res:"{"ret":65535}", ip:"127.0.0.1:56348", time:"0.000018s" [06/16/16 18:55:58] [EROR] strconv.Atoi("") error(strconv.ParseInt: parsing "": invalid syntax) [06/16/16 18:55:58] [INFO] req: "/1/push", post: "{"m":{"test":1},"u":10000}", res:"{"ret":65535}", ip:"127.0.0.1:56348", time:"0.006457s"