diff --git a/app/controller/api/store/order/StoreCartDg.php b/app/controller/api/store/order/StoreCartDg.php index badba6c2..692d2679 100644 --- a/app/controller/api/store/order/StoreCartDg.php +++ b/app/controller/api/store/order/StoreCartDg.php @@ -250,7 +250,7 @@ class StoreCartDg extends BaseController ->page($page,$limit) ->withAttr('goods',function ($value,$data){ $www[] = ['a.cart_id','in',$data['cart_ids']]; - return Db::table('eb_store_cart_dg')->alias('a')->join('eb_store_product b','a.product_id = b.product_id')->field('a.cart_num,b.product_id,b.store_name')->where($www)->select(); + return Db::table('eb_store_cart_dg')->alias('a')->join('eb_store_product b','a.product_id = b.product_id')->field('a.cart_num,b.product_id,b.store_name,b.price')->where($www)->select(); }) ->select(); if($list){