Commit 8aa05b6c authored by hezhen's avatar hezhen

修改我的购物车

parent 0caacc9c
......@@ -7,7 +7,7 @@ global $_GPC;
global $_W;
$uniacid = $_W['uniacid'];
$uid = $_GPC['user_id'];
$sql = 'SELECT a.id,a.spe_price_id,a.number,a.goods_id,b.name,b.cover,b.price,b.freight,b.unit FROM ' . tablename('longbing_company_shop_trolley') . ' a LEFT JOIN ' . tablename('longbing_company_goods') . (' b ON a.goods_id = b.id WHERE a.user_id = ' . $uid . ' && a.status = 1');
$sql = 'SELECT a.id,a.spe_price_id,a.number,a.trip_time,a.company_id,a.company_name,a.goods_id,b.name,b.cover,b.price,b.freight,b.unit FROM ' . tablename('longbing_company_shop_trolley') . ' a LEFT JOIN ' . tablename('longbing_company_goods') . (' b ON a.goods_id = b.id WHERE a.user_id = ' . $uid . ' && a.status = 1');
$list = pdo_fetchall($sql);
$freightArr = array();
$price = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment