shizhongqi 11 kuukautta sitten
vanhempi
commit
7facbf0414
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      biz-mall/message/services/ChatService.php

+ 1 - 1
biz-mall/message/services/ChatService.php

@@ -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');