[FIX] Fix the address of the call

This commit is contained in:
zhoujunhao 2018-08-07 19:23:01 +08:00
parent 7eef6dff00
commit db02cb2606

View File

@ -44,7 +44,7 @@ func (n *notification) GetNotification(start string, end string) ([]*model.Notif
var ne []*model.NotificationEvent
var decode utilhttp.ResponseBody
decode.List = &ne
code, err := n.DoRequest(n.prefix+"/1"+"?start="+start+"&"+"end="+end, "GET", nil, &decode)
code, err := n.DoRequest(n.prefix+"/group"+"?start="+start+"&"+"end="+end, "GET", nil, &decode)
if err != nil {
return nil, handleErrAndCode(err, code)
}