From 496666096775baff2ea98e7c470cb7d3278adebe 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:23:27 +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 f28a57c..e556320 100644 --- a/app/api/controller/food/User.php +++ b/app/api/controller/food/User.php @@ -136,7 +136,7 @@ class User extends Controller { $post = $_GET; - if (empty($post['openid']) || empty($post['coupon_id'])) { + if (empty($post['openid']) && empty($post['coupon_id'])) { return $this->renderSuccess([], '成功'); } $where = [];