Commit 0cf72638 authored by hezhen's avatar hezhen

修改商品详情

parent 07b23b67
...@@ -53,7 +53,7 @@ if ($info['pay_status'] == 0 && $info['order_status'] != 1) { ...@@ -53,7 +53,7 @@ if ($info['pay_status'] == 0 && $info['order_status'] != 1) {
} }
} }
$sql = 'SELECT a.id,a.order_id,a.goods_id,a.name,a.cover,a.number,a.price,a.spe_price_id,b.id,b.unit FROM ' . tablename('longbing_company_shop_order_item') . ' a LEFT JOIN ' . tablename('longbing_company_goods') . (' b ON a.goods_id = b.id WHERE a.order_id = ' . $id . ' && a.uniacid = ' . $uniacid); $sql = 'SELECT a.id,a.order_id,a.goods_id,a.name,a.cover,a.number,a.price,a.trip_time,a.company_id,a.company_name,a.spe_price_id,b.id,b.unit FROM ' . tablename('longbing_company_shop_order_item') . ' a LEFT JOIN ' . tablename('longbing_company_goods') . (' b ON a.goods_id = b.id WHERE a.order_id = ' . $id . ' && a.uniacid = ' . $uniacid);
$goods_info = pdo_fetchall($sql); $goods_info = pdo_fetchall($sql);
foreach ($goods_info as $k => $v) { foreach ($goods_info as $k => $v) {
......
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