From d3d1a680d420f6daba4fec5b6014e0950a70af26 Mon Sep 17 00:00:00 2001 From: songliang Date: Sun, 16 Jul 2023 16:19:47 +0800 Subject: [PATCH] ... --- third_party/phpcommon | 2 +- webapp/services/callback/ShopBuyGoodsDirect.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;