From fb5ce439ca42c6ddd58ddd67a2caa0f8b8fdce77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Tue, 20 Apr 2021 16:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=BB=B7=E6=A0=BC=20?= =?UTF-8?q?=E6=8A=98=E6=89=A3-3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/test/user_level.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/test/user_level.php b/script/test/user_level.php index e5a3ca1..aba83ac 100644 --- a/script/test/user_level.php +++ b/script/test/user_level.php @@ -42,15 +42,15 @@ foreach ($order_pay_list_db as $info){ $temp = [ 'ConsumeAmount' => $info['money'], ]; - if ($info['money']>=500 && $info['money']<1000){ + if ($info['money']>=200 && $info['money']<500){ $temp['discount_id'] = 1; - } elseif($info['money']>=1000 && $info['money']<3000) { + } elseif($info['money']>=500 && $info['money']<1500) { $temp['discount_id'] = 2; - } elseif($info['money']>=3000 && $info['money']<6000) { + } elseif($info['money']>=1500 && $info['money']<3000) { $temp['discount_id'] = 4; - } elseif($info['money']>=6000 && $info['money']<10000) { + } elseif($info['money']>=3000 && $info['money']<6000) { $temp['discount_id'] = 5; - } elseif($info['money']>=10000) { + } elseif($info['money']>=6000) { $temp['discount_id'] = 6; }