From 8ea929641fc1c8af8da70918371f748f1fd04b83 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 16:34:46 +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 5d458e9..aa86919 100644 --- a/app/api/controller/food/User.php +++ b/app/api/controller/food/User.php @@ -219,7 +219,7 @@ class User extends Controller ]; - if (isset($coupon_id)) { + if (!empty($coupon_id)) { //优惠券详情 $url = 'https://app.cxhxy.h5.dev.1nww.com/#/pages/details/details?openid=' . $openid . '&coupon_id=' . $coupon_id; } else {