feat(users): merge promotion into revenue center

This commit is contained in:
kate522 committed 2026-08-03 15:38:17 +08:00
1 parent 156060d2ec
commit 49c12b761f
20 files changed
+369 -413

No files matched your search

+2 -2
View File
@@ -55,8 +55,8 @@ function aksrt_get_revenue_page_view(int $user_id): array {
$total_withdrawn = 0.0;
$records = [];
if (class_exists('\AKSRT\Credits\Credits')) {
$balance = (float) \AKSRT\Credits\Credits::balance($user_id);
if (class_exists('\AKSRT\Credits\Balance')) {
$balance = (float) \AKSRT\Credits\Balance::balance($user_id);
}
if (class_exists('\AKSRT\Payment\Revenue')) {