|
@@ -78,7 +78,7 @@ func (service *MessageService) CountUnread(userId string, appId string) (int64,
|
|
|
// 查询消息详情
|
|
|
func FindMessageDetail(id int64) (map[string]interface{}, error) {
|
|
|
|
|
|
- msg := entity.Mysql.FindOne("message", map[string]interface{}{"id": id}, "", "")
|
|
|
+ msg := entity.Mysql.FindOne("message", map[string]interface{}{"msg_log_id": id}, "", "")
|
|
|
if msg != nil && len(*msg) > 0 {
|
|
|
return *msg, nil
|
|
|
}
|