diff --git a/third_party/phpcommon b/third_party/phpcommon index 1913ff11..214a4377 160000 --- a/third_party/phpcommon +++ b/third_party/phpcommon @@ -1 +1 @@ -Subproject commit 1913ff111893e9583dff228c9bc24669ec2e86b0 +Subproject commit 214a4377c3688c70e9a6ceb0b3495fb4aaec7507 diff --git a/webapp/services/callback/ShopBuyGoodsDirect.php b/webapp/services/callback/ShopBuyGoodsDirect.php index 8f4f08d2..e4a3ea89 100644 --- a/webapp/services/callback/ShopBuyGoodsDirect.php +++ b/webapp/services/callback/ShopBuyGoodsDirect.php @@ -68,7 +68,7 @@ class ShopBuyGoodsDirect $conn = myself()->_getMysql(''); - $order = SqlHelper::selectOne($conn, 't_shop_buy_order', array('address', 'id', 'item_id', 'goods_num', 'status'), array('idx' => $order_id)); + $order = SqlHelper::selectOne($conn, 't_shop_buy_order', array('address', 'id', 'item_id', 'goods_num', 'status'), array('order_id' => $order_id)); if (!$order) { $this->_rspErr(2, "order not found: {$order_id}"); return;