From 1bd58003dcaa363f1cd1699d216ec95808e3290c Mon Sep 17 00:00:00 2001 From: songliang Date: Wed, 19 Jul 2023 11:26:27 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 1bd8eda3..43ffa4bb 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -390,7 +390,7 @@ class ShopController extends BaseAuthedController break; } - SqlHelper::update($conn, 't_shop_buy_order', array('idx' => $order_id), array('status' => $buyStatus)); + SqlHelper::update($conn, 't_shop_buy_order', array('order_id' => $order_id), array('status' => $buyStatus)); // 以下是看商品表中是否配置了充值额外奖励 $goods = mt\ShopGoods::get($id);