Commit 3f77b161 authored by wwccw0591's avatar wwccw0591

pc

parent 09c4b4a3
......@@ -52,6 +52,7 @@ class IndexController extends \Our\Controller_Abstract {
}
public function indexAction() {
phpinfo();exit;
$orderDao = \DAO\Order\OrderModel::getInstance();
$res=$orderDao->getList(array('buyer_id'=>1),'*',0,10);
......
......@@ -194,7 +194,7 @@ 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'] = $toMember['avatar'];
$val['toAvatar'] = !empty($toMember['avatar'])?$toMember['avatar']:'';
$val['message'] = $messageHistoryDao->convertMessage($val['message']);
$val['fromAvatar'] = $self['avatar'];
// $val['toAvatar']=$this->getAvatar($val['toType'],$val['toId']);
......
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