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

@@ -11,7 +11,6 @@ $level_url = isset($dashboard_tabs['level'])
? aksrt_get_user_center_tab_url('level')
: '';
$auth_url = isset($dashboard_tabs['auth']) ? aksrt_get_user_center_tab_url('auth') : '';
$promotion_url = isset($dashboard_tabs['promotion']) ? aksrt_get_user_center_tab_url('promotion') : '';
$orders_available = isset($dashboard_tabs['orders']);
$orders_url = $orders_available ? (string) ($orders_url ?? '') : '';
@@ -29,13 +28,6 @@ $services = array_values(array_filter([
'url' => $auth_url,
'tab' => 'auth',
],
[
'label' => __('推广中心', 'aksrt'),
'icon' => 'user-plus',
'tone' => 'promotion',
'url' => $promotion_url,
'tab' => 'promotion',
],
[
'label' => __('我的订单', 'aksrt'),
'icon' => 'receipt',