From 2da102ed153f2f32c0db3074d16ec5e9b79fe009 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 13 十月 2025 16:29:43 +0800 Subject: [PATCH] feat: 微信支付配置 --- src/utils/common/file.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/utils/common/file.ts b/src/utils/common/file.ts index 25cbd9a..a7da7d5 100644 --- a/src/utils/common/file.ts +++ b/src/utils/common/file.ts @@ -25,6 +25,10 @@ return path ? [convertApi2FormUrl(path)] : []; } +export function convertApi2FormUrls(paths: string[]): UploadUserFile[] { + return paths?.length > 0 ? paths.map((x) => convertApi2FormUrl(x)) : []; +} + /** * 鎶妘pload鐨勮矾寰勮浆鎹负涓婁紶鍒癮pi鐨勮矾寰� */ -- Gitblit v1.9.1