()
| 450 | * 获取当前用户信息 |
| 451 | */ |
| 452 | export async function getCurrentUser(): Promise<UserResponse> { |
| 453 | return fetchWithAuth<UserResponse>(`${API_BASE_URL}/api/auth/me`, { |
| 454 | method: 'GET', |
| 455 | }); |
| 456 | } |
| 457 | |
| 458 | /** |
| 459 | * 加入Beta计划 |
no test coverage detected