From ca0394e3c281fb47e0fcc76f83160ff9abcbec93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=96=E5=8F=AB?= <392494244@qq.com> Date: Fri, 8 Dec 2023 15:58:21 +0800 Subject: [PATCH] 1 --- app/api/controller/food/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/food/User.php b/app/api/controller/food/User.php index b77924c..7bdb1ae 100644 --- a/app/api/controller/food/User.php +++ b/app/api/controller/food/User.php @@ -164,7 +164,7 @@ class User extends Controller $where = [ // 'openid' => $post['openid'], - 'coupon_user_id' => $post['id'], + 'coupon_user_id' => $post['coupon_id'], ]; $data = Db::name('food_coupon_user_wx')->where($where)->update(['status' => 2]);