元后台财务

This commit is contained in:
“wanyongkang”
2021-02-21 18:12:56 +08:00
parent 03ed5bcc25
commit 41e1742f82

View File

@@ -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;