feat(公开内容): 添加公开内容功能,支持文档和软件下载,无需登录即可访问

This commit is contained in:
2026-03-09 15:11:45 +08:00
parent e568f92c3c
commit a3e9de5af2
10 changed files with 431 additions and 4 deletions

View File

@@ -68,4 +68,10 @@ urlpatterns = [
# 历史记录查询
path('history/', history_views.history_records, name='history_records'),
path('history/pdf/', history_views.history_pdf, name='history_pdf'),
# 公开内容
path('public/', views.public_content, name='public_content'),
path('public/add/', views.add_public_content, name='add_public_content'),
path('public/<int:pk>/edit/', views.edit_public_content, name='edit_public_content'),
path('public/<int:pk>/delete/', views.delete_public_content, name='delete_public_content'),
]