feat: 接入腾讯云与阿里云实人认证

This commit is contained in:
2026-08-01 13:21:21 +08:00
parent 92e445dbd4
commit 4de67311cc
37 changed files with 2410 additions and 1158 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ if (!function_exists('aksrt_resolve_allow_view_rule')) :
}
}
if (!$ok && $need_auth) {
$verify = sanitize_key((string) get_user_meta($user_id, 'aksrt_user_verify_status', true));
$verify = class_exists('\\AKSRT\\User\\AuthApply') && \AKSRT\User\AuthApply::is_verified($user_id) ? 'verified' : '';
if (in_array($verify, ['verified', '1', 'yes'], true)) {
$ok = true;
}