From 7d99b83e9e278eb77027c195b271d154ab6c4675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Tue, 7 Feb 2023 16:29:44 +0800 Subject: [PATCH] 1 --- app/controller/api/store/order/StoreCartDg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){