feat(problem): 新增批量给题目添加/移除标签接口

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-05 04:21:08 -06:00
parent c775ae4b22
commit 5b393a3b4c
3 changed files with 41 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ from django.urls import path
from ..views.admin import (
AddContestProblemAPI,
BatchProblemTagAPI,
ContestProblemAPI,
MakeContestProblemPublicAPIView,
ProblemAPI,
@@ -27,6 +28,7 @@ urlpatterns = [
path("problem/top_ac_trend", TopACTrendAPI.as_view()),
path("problem/flowchart", ProblemFlowchartAIGen.as_view()),
path("problem/tag", TagAdminAPI.as_view()),
path("problem/batch_tag", BatchProblemTagAPI.as_view()),
path("contest/problem", ContestProblemAPI.as_view()),
path("contest_problem/make_public", MakeContestProblemPublicAPIView.as_view()),
path("contest/add_problem_from_public", AddContestProblemAPI.as_view()),