Update handler.go
This commit is contained in:
parent
55b6ae810d
commit
bc795d3f20
@ -333,7 +333,7 @@ func (cr ChatHandler) MessageList(c *gin.Context) {
|
|||||||
return messages[i].ID > messages[j].ID
|
return messages[i].ID > messages[j].ID
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
fmt.Printf("data is %+v\n", messages)
|
//fmt.Printf("data is %+v\n", messages)
|
||||||
total := 0
|
total := 0
|
||||||
for i, message := range messages {
|
for i, message := range messages {
|
||||||
switch request.Direction {
|
switch request.Direction {
|
||||||
|
Loading…
Reference in New Issue
Block a user