Commit 3fb55eb1 authored by hezhen's avatar hezhen

修改编辑商品

parent 3616653a
......@@ -61,7 +61,7 @@ if ($_GPC['action'] == 'edit') {
}
else {
if($k=='ids'){
$ids=$v;
continue;
}elseif($k=='city'||$k=='province'){
continue;
}
......@@ -115,7 +115,7 @@ if ($_GPC['action'] == 'edit') {
$spe_id = pdo_insertid();
pdo_insert('longbing_company_shop_spe_price', array('goods_id' => $goodsId, 'uniacid' => $_W['uniacid'], 'spe_id_1' => $spe_id, 'create_time' => time(), 'update_time' => time(), 'price' => $data['price'], 'stock' => $data['stock']));
}
updateCompany($ids,$good_id);
updateCompany($_GPC['ids'],$good_id);
if ($result) {
......
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