feat: 新增打字练习记录与首页记录列表
This commit is contained in:
@@ -111,3 +111,11 @@ function apiAdminDeleteUser(id) {
|
||||
function apiAdminResetPassword(id, password) {
|
||||
return apiFetch('/api/admin/users/' + id + '/password', { method: 'PUT', body: { password: password } });
|
||||
}
|
||||
|
||||
function apiGetTypingLogs() {
|
||||
return apiFetch('/api/typing/logs');
|
||||
}
|
||||
|
||||
function apiSaveTypingLog(data) {
|
||||
return apiFetch('/api/typing/logs', { method: 'POST', body: data });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user