积分与余额账务系统硬切重构

This commit is contained in:
2026-08-24 15:59:11 +08:00
parent ca12226b39
commit 5cae5b5c93
159 changed files with 7275 additions and 4718 deletions
+2 -1
View File
@@ -217,7 +217,8 @@ class Center {
$level_on = class_exists('\AKSRT\User\Level')
&& !empty(\AKSRT\User\Level::settings()['enabled']);
$credits_on = class_exists('\AKSRT\Settings\Settings') && \AKSRT\Settings\Settings::credits_enabled();
$balance_on = class_exists('\AKSRT\Credits\Balance') && \AKSRT\Credits\Balance::enabled();
$recharge = class_exists('\AKSRT\Settings\Settings') ? \AKSRT\Settings\Settings::get_payment_recharge_settings() : [];
$balance_on = !empty($recharge['enabled']);
$revenue_tab_on = class_exists('\AKSRT\Settings\Settings')
&& \AKSRT\Settings\Settings::referral_enabled();
$creator_tab_on = class_exists('\AKSRT\Settings\Settings')