完善配置审计与数据库迁移安全链路
This commit is contained in:
1 parent
84440d8761
commit
3af1fc4147
117 files changed
+4703
-1110
No files matched your search
@@ -85,7 +85,7 @@ const generateRecoveryCodes = async () => {
|
||||
}
|
||||
loading.value = true
|
||||
try {
|
||||
const response = await http.post("/api/security/credentials/recovery-codes/generate", { count: 10 })
|
||||
const response = await http.post("/api/v1/security/credentials/recovery-codes/generate", { count: 10 })
|
||||
if (response.errorNo !== 0 || !Array.isArray(response.data?.codes)) {
|
||||
throw new Error(response.errorMsg || "离线恢复码生成失败")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user