wupengfei 2 lat temu
rodzic
commit
49a41e2f2b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      application/store/controller/CollectInfo.php

+ 1 - 1
application/store/controller/CollectInfo.php

@@ -156,7 +156,7 @@ class CollectInfo extends Controller
         $sel_where[] = ['i.resale_status','in','1,2'];
         $sel_where[] = ['i.is_destruction','=',1];
         $sel_where[] = ['i.status','<>',2];
-        $goods_name = Db::name('store_collection')->where('id',$goods_id)->value('id');
+        $goods_name = Db::name('store_collection')->where('id',$goods_id)->value('name');
         $list = Db::name('store_order_info')
             ->alias('i')
             ->field('count(i.id) num,i.mid,u.phone,u.name user_name')