...
This commit is contained in:
parent
bf9c4549c1
commit
ce8c2a854c
@ -509,14 +509,14 @@ class ShopController extends BaseAuthedController
|
|||||||
$this->_rspErr(2, "product_id is empty");
|
$this->_rspErr(2, "product_id is empty");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// $goods = mt\ShopGoods::getByProductId($product_id);
|
// $goods = mt\ShopGoods::getByProductId($product_id);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$order = SqlHelper::selectOne($conn, 't_web2_order', array('address', 'id', 'item_id', 'goods_num', 'status'), array('order_id' => $order_id, 'status' => 0));
|
$order = SqlHelper::selectOne($conn, 't_web2_order', array('address', 'id', 'item_id', 'goods_num', 'status'), array('order_id' => $order_id, 'status' => 0));
|
||||||
error_log('process order '. json_encode($order));
|
error_log('process order ' . json_encode($order));
|
||||||
if (!$order) {
|
if (!$order) {
|
||||||
$this->_rspErr(3, "order not found, order_id: {$order_id}");
|
$this->_rspErr(3, "order not found, order_id: {$order_id}");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user