Commit 0cdf0af5 authored by wwccw0591's avatar wwccw0591

jpush

parent 9f0659e6
......@@ -170,9 +170,9 @@ class MessageServiceModel extends \Business\AbstractModel
foreach ($messageOneList['list'] as &$val) {
$self = $this->getUserByMemberIdAndSelfType($val['fromId'], $val['fromType']);
$toMember = $this->getUserByMemberIdAndSelfType($val['toId'], $val['toType']);
$val['toAvatar'] = $self['avatar'];
$val['toAvatar'] = $toMember['avatar'];
$val['message'] =$messageHistoryDao->convertMessage($val['message']);
$val['fromAvatar'] = $toMember['avatar'];
$val['fromAvatar'] = $self['avatar'];
// $val['toAvatar']=$this->getAvatar($val['toType'],$val['toId']);
// $val['fromAvatar']=$this->getAvatar($val['fromType'],$val['fromId']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment