|
|
|
@ -328,7 +328,7 @@ class Im extends BaseController |
|
|
|
} |
|
|
|
// 查询当前用户是否查看过原图 |
|
|
|
$is_view = MessageView::isView($v['msg_id'], $userInfo['user_id']); |
|
|
|
if ($is_view && $v['file_id']) { |
|
|
|
if ($is_view && $v['file_id'] && $v['is_undo'] == 0) { |
|
|
|
$src = File::where(['file_id'=>$v['file_id'],'delete_time' => 0])->value('src'); |
|
|
|
if ($src) $v['content'] = $src; |
|
|
|
} |
|
|
|
|