feat(user-center): merge promotion rewards into revenue

This commit is contained in:
kate522 committed 2026-08-05 23:43:16 +08:00
1 parent a87fd32fa3
commit 39c92017d9
14 files changed
+1048 -159

No files matched your search

+3 -1
View File
@@ -39,7 +39,9 @@ if (class_exists('\AKSRT\Settings\Settings')) {
: (string) ($invite_cfg['open_desc'] ?? '');
}
if (!empty($_GET['invite'])) {
if (!empty($_GET['ref'])) {
$invite_prefill = sanitize_key(wp_unslash($_GET['ref']));
} elseif (!empty($_GET['invite'])) {
$invite_prefill = sanitize_key(wp_unslash($_GET['invite']));
} elseif (!empty($_COOKIE['aksrt_invite'])) {
$invite_prefill = sanitize_key(wp_unslash($_COOKIE['aksrt_invite']));