From e44720fee68922a44b1e8406cdcc735e060c2a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 15 May 2025 23:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Account.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/api/controller/Account.php b/app/api/controller/Account.php index ae57d80..f88bcc5 100644 --- a/app/api/controller/Account.php +++ b/app/api/controller/Account.php @@ -57,6 +57,11 @@ class Account echo json_encode($return_data); die; } + + $up_data = [$data['account']]; + if (strstr($data['account'], ',')) { + $up_data = explode(",", $data['account']); + } $account_model = new ProductAccount; $info = $account_model->getOne(['Account'=>["IN",$data['account']]],'ProductName,PackageName,Account,ConnectCount,StartTime,EndTime');