Browse Source

room goods order

huangdong 6 years ago
parent
commit
0484a0a147
1 changed files with 3 additions and 1 deletions
  1. 3 1
      mobile/control/member_talk.php

+ 3 - 1
mobile/control/member_talk.php

@@ -1389,7 +1389,9 @@ class member_talkControl extends mbMemberControl
         $items = $mod_room->getRoomsgList(["room_id"=>$room_id,"type"=>proto_type::msg_type_goods],20);
         $gids = [];
         foreach ($items as $item) {
-            $gids[] = $item['orgmsg'];
+            $goods_id = intval($item['orgmsg']);
+            if($goods_id > 0) $gids[] = $goods_id;
+
         }
 
         $goods = [];