mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
[FIX] Fix the address of the call
This commit is contained in:
parent
7eef6dff00
commit
db02cb2606
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user