This commit is contained in:
songliang 2023-07-12 09:58:29 +08:00
parent bf9c4549c1
commit ce8c2a854c

View File

@ -509,14 +509,14 @@ class ShopController extends BaseAuthedController
$this->_rspErr(2, "product_id is empty");
return;
}
// $goods = mt\ShopGoods::getByProductId($product_id);
return;
}
$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) {
$this->_rspErr(3, "order not found, order_id: {$order_id}");
return;