initial commit

This commit is contained in:
2025-04-29 18:09:00 +08:00
commit 4faed52de5
690 changed files with 13481 additions and 0 deletions

11
utils/path_utils.py Normal file
View File

@@ -0,0 +1,11 @@
from apps.project.models import Project
def project_path(id: int):
"""
:param id:传入project_id获取其ident作为路径
:return:
"""
project = Project.objects.filter(id=id).first()
if not project:
return
return project.ident