fix(user): rebuild badge modal ajax flow

This commit is contained in:
2026-08-19 15:53:33 +08:00
parent 029df27b1d
commit 9c827ff493
14 changed files with 243 additions and 591 deletions
+1 -2
View File
@@ -14,7 +14,7 @@ class FrontendModalRuntime {
/**
* Read the per-domain frontend modal rollout switches.
*
* @return array{vip:bool,order:bool,identity:bool,badge:bool}
* @return array{vip:bool,order:bool,identity:bool}
*/
public static function get_frontend_modal_rollout(): array {
$settings = Settings::get_all();
@@ -25,7 +25,6 @@ class FrontendModalRuntime {
'vip' => !array_key_exists('frontend_modal_rollout_vip', $settings) || !empty($settings['frontend_modal_rollout_vip']),
'order' => !array_key_exists('frontend_modal_rollout_order', $settings) || !empty($settings['frontend_modal_rollout_order']),
'identity' => !array_key_exists('frontend_modal_rollout_identity', $settings) || !empty($settings['frontend_modal_rollout_identity']),
'badge' => !array_key_exists('frontend_modal_rollout_badge', $settings) || !empty($settings['frontend_modal_rollout_badge']),
];
}
}