From ec07b8376296037dd97ae4c5b71581636eaea78d 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 17:07:04 +0800 Subject: [PATCH] 1 --- app/api/controller/food/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/controller/food/User.php b/app/api/controller/food/User.php index 1f908ca..5dcb9f1 100644 --- a/app/api/controller/food/User.php +++ b/app/api/controller/food/User.php @@ -143,7 +143,7 @@ class User extends Controller if (isset($post['openid'])) { $where['openid'] = $post['openid']; } - + $data = Db::name('food_coupon_user_wx')->where($where)->select(); return $this->renderSuccess($data, '成功'); } @@ -223,7 +223,7 @@ class User extends Controller if (!empty($coupon_id)) { //优惠券详情 - $url = 'https://app.cxhxy.h5.dev.1nww.com/#/pages/details/details?openid=' . $openid . '&coupon_id=' . $coupon_id; + $url = 'https://app.cxhxy.h5.dev.1nww.com/#/pages/details/details?coupon_id=' . $coupon_id; } else { //优惠券列表 $url = 'https://app.cxhxy.h5.dev.1nww.com/#/?openid=' . $openid;