get im rec

This commit is contained in:
苏尹岚
2020-10-26 11:11:23 +08:00
parent 55a43504b6
commit 100c2ca978
2 changed files with 6 additions and 6 deletions

View File

@@ -181,13 +181,13 @@ func handleMessages() {
// @Title 查询聊天记录
// @Description 查询聊天记录
// @Param token header string true "认证token"
// @Param vendorOrderID query string true "订单号"
// @Param groupID query int true "组ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetImMessageRecord [get]
func (c *EventController) GetImMessageRecord() {
c.callGetImMessageRecord(func(params *tEventGetImMessageRecordParams) (retVal interface{}, errCode string, err error) {
retVal, err = dao.GetImMessageRecord(dao.GetDB(), params.VendorOrderID, "", 0, -1)
retVal, err = dao.GetImMessageRecord(dao.GetDB(), params.GroupID, "", 0, -1)
return retVal, "", err
})
}