diff --git a/src/oj/api.ts b/src/oj/api.ts index 4618bd3..e538d8d 100644 --- a/src/oj/api.ts +++ b/src/oj/api.ts @@ -208,3 +208,7 @@ export function getComment(problemID: number) { export function getCommentStatistics(problemID: number) { return http.get("comment/statistics", { params: { problem_id: problemID } }) } + +export function refreshUserProblemDisplayIds() { + return http.get("profile/fresh_display_id") +} diff --git a/src/oj/user/index.vue b/src/oj/user/index.vue index 0520e90..b98c71e 100644 --- a/src/oj/user/index.vue +++ b/src/oj/user/index.vue @@ -1,6 +1,7 @@