web-学习任务
This commit is contained in:
@@ -131,5 +131,10 @@ export const learningTaskApi = {
|
||||
filter
|
||||
});
|
||||
return response.data;
|
||||
}
|
||||
},
|
||||
|
||||
async getUserProgress(userID: string): Promise<ResultDomain<TaskVO>> {
|
||||
const response = await api.post<TaskVO>(`${this.learningTaskPrefix}/user/progress/${userID}`);
|
||||
return response.data;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user