From 6effe8c2065df5cedd4867c1e15f9f0cd8dbc186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 7 Mar 2024 14:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E6=9F=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/jinyou/controller/Jinyoujt.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/jinyou/controller/Jinyoujt.php b/app/jinyou/controller/Jinyoujt.php index c8dbb80..b104d93 100644 --- a/app/jinyou/controller/Jinyoujt.php +++ b/app/jinyou/controller/Jinyoujt.php @@ -34,8 +34,8 @@ class Jinyoujt extends Controller if ($user_info['discount_id'] == -1) { $user_price_model = new UserPriceModel; $user_price_list = $user_price_model->getList(['UserId' => $this->userinfo['UserId'],'ProductId' => 28]); - foreach ($user_price_list as $info) { - $user_price[$info['PackageId']] = $info['UserPrice']; + foreach ($user_price_list as $infos) { + $user_price[$infos['PackageId']] = $infos['UserPrice']; } } else { $scheme_model = new SchemeModel;