|
|
@@ -218,7 +218,7 @@ class ChatService extends BaseService
|
|
|
$where = [];
|
|
|
$where['userId'] = $userId;
|
|
|
$where['delStatus'] = 0;
|
|
|
- $hdList = HdClass::getAllByCondition($where,'inTurn DESC, addTime DESC', 'customId, shopId',);
|
|
|
+ $hdList = HdClass::getAllByCondition($where,'inTurn DESC, addTime DESC', 'customId, shopId');
|
|
|
// 生成以 shopId 为键的新数组
|
|
|
$hdListByShopId = ArrayHelper::index($hdList, 'shopId');
|
|
|
$shopList = ShopClass::getByIds($ids, null, null, 'id, avatar, shopName, merchantName');
|