From 41e1742f8253460a1605baa7d6561816c76319dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sun, 21 Feb 2021 18:12:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=83=E5=90=8E=E5=8F=B0=E8=B4=A2=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/finance_check_script.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/script/finance_check_script.php b/script/finance_check_script.php index ed90e0a..894a03b 100644 --- a/script/finance_check_script.php +++ b/script/finance_check_script.php @@ -546,6 +546,10 @@ function mogu($product, $refunds) case '季卡': $cost += ($package['NewBuyCount'] + $package['AgainBuyCount']) * 120; + break; + case '季卡(活动)': + $cost += ($package['NewBuyCount'] + $package['AgainBuyCount']) * 120; + break; case '双月卡': @@ -582,6 +586,11 @@ function mogu($product, $refunds) $refund += $info['ConnectCount'] * 120; } break; + case '季卡(活动)': + if ((86400 * 90 - handle_time($info['RefundRestTime'])) < 10800) { + $refund += $info['ConnectCount'] * 120; + } + break; case '双月卡': if ((86400 * 90 - handle_time($info['RefundRestTime'])) < 10800) { $refund += $info['ConnectCount'] * 80;