feat: 文件上传所需要的工具函数

This commit is contained in:
martsforever
2026-04-02 15:01:39 +08:00
parent 5013218b24
commit acc9a849a4
2 changed files with 29 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import os
from typing import List
def path_join(*pat_list: List[str]):
return os.path.join(*pat_list).replace('\\', '/')