fix(api): mc_uuid 统一校验为 UUID,非法值返回 400 bad_mc_uuid 并按规范形式存储

This commit is contained in:
Lemon-miaow committed 2026-09-27 12:57:40 +08:00
1 parent 5b0686dc06
commit e91886822c
13 files changed
+159 -35

No files matched your search

+2
View File
@@ -1002,6 +1002,8 @@ export function humanizeError(e: unknown): string {
return t("invalid_code");
case "already_linked":
return t("already_linked");
case "bad_mc_uuid":
return t("bad_mc_uuid");
case "otp_resend_cooldown":
return t("otp_resend_cooldown");
case "otp_locked":