服务器列表

This commit is contained in:
wanyongkang
2020-11-12 14:25:48 +08:00
parent 55b15365d3
commit 85c143d1d6
33 changed files with 9317 additions and 9026 deletions

View File

@@ -5,7 +5,7 @@
* @Author: kangkang
* @Date: 2020-10-03 18:23:43
* @LastEditors: kangkang
* @LastEditTime: 2020-11-10 20:44:32
* @LastEditTime: 2020-11-12 11:26:52
*/
$is_script = 1;
include __DIR__ . '/../index.php';
@@ -277,11 +277,13 @@ function qx_rule($product, $refunds, $product_type = true)
}
break;
case '月卡(活动)':
case '月卡':
if ((86400 - handle_time($info['RefundRestTime'])) < 7200) {
$refund += 200;
}
break;
case '季卡(活动)':
case '季卡':
if ((86400 - handle_time($info['RefundRestTime'])) < 7200) {
$refund += 600;
}
@@ -406,6 +408,11 @@ function xianfeng($product, $refunds)
case '年卡':
$cost += ($package['NewBuyCount'] + $package['AgainBuyCount']) * 636;
break;
case '双月卡(活动)':
$cost += ($package['NewBuyCount'] + $package['AgainBuyCount']) * 120;
break;
}
}