feat: 完成前端业务闭环与后端联调

This commit is contained in:
2026-08-24 23:37:56 +08:00
parent c59e36f933
commit 9ad572907b
175 changed files with 10711 additions and 1740 deletions
+3
View File
@@ -45,6 +45,9 @@ export const normalizeBusinessFileAccess = (value, label, code, { required = fal
}
const accessUrl = normalizeText('accessUrl')
if (required && !accessUrl) throw createRequestError(`${label}缺少授权访问地址`, code)
if (accessUrl && !/^https:\/\/[^\s]+$/.test(accessUrl)) {
throw createRequestError(`${label}授权访问地址必须使用 HTTPS`, code)
}
return {
fileId,
ossId,