feat(achievement): 添加用户侧成就 API

新增 achievements 列表、summary、pending 三个用户侧端点,隐藏未解锁成就
在序列化层打码(name/description/icon 替换为占位符,不下发 progress)。
This commit is contained in:
xuyue committed 2026-08-04 01:12:16 -06:00
1 parent 8ce3660c87
commit 1d66e2be1f
4 files changed
+190

No files matched your search

+1
View File
@@ -26,4 +26,5 @@ urlpatterns = [
path("api/", include("problemset.urls.oj")),
path("api/admin/", include("problemset.urls.admin")),
path("api/", include("class_pk.urls.oj")),
path("api/", include("achievement.urls.oj")),
]