教师端数据看板: - 新增 TeacherDashboardResponse/TeacherLessonVO/TeacherLessonTrendVO - 新增 TeacherWeeklyStatsResponse 周统计响应 - 新增 TeacherActivityLevel 枚举和 TeacherActivityRankResponse 活跃度排行 - 实现教师端课程统计、任务完成详情、任务反馈接口 学校端课程统计: - 新增 CourseUsageVO/CourseUsageStatsVO/CoursePackageVO - 新增 SchoolCourseResponse 和学校端课程使用查询接口 - 实现学校端统计数据和课程趋势接口 用户资料功能: - 新增 UpdateProfileRequest/UpdateProfileResponse - 实现用户资料更新接口 前后端对齐: - 更新 OpenAPI 规范和前端 API 类型生成 - 优化 DashboardView 组件和 API 调用 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
901 B
TypeScript
27 lines
901 B
TypeScript
/**
|
|
* Generated by orval v8.5.3 🍺
|
|
* Do not edit manually.
|
|
* Reading Platform API
|
|
* Reading Platform Backend Service API Documentation
|
|
* OpenAPI spec version: 1.0.0
|
|
*/
|
|
import type { CoursePackageVO } from './coursePackageVO';
|
|
import type { TeacherDashboardResponseRecentActivitiesItem } from './teacherDashboardResponseRecentActivitiesItem';
|
|
import type { TeacherLessonVO } from './teacherLessonVO';
|
|
import type { TeacherStats } from './teacherStats';
|
|
import type { TeacherWeeklyStatsResponse } from './teacherWeeklyStatsResponse';
|
|
|
|
/**
|
|
* 教师仪表盘响应
|
|
*/
|
|
export interface TeacherDashboardResponse {
|
|
stats?: TeacherStats;
|
|
/** 今日课程 */
|
|
todayLessons?: TeacherLessonVO[];
|
|
/** 推荐课程 */
|
|
recommendedCourses?: CoursePackageVO[];
|
|
weeklyStats?: TeacherWeeklyStatsResponse;
|
|
/** 近期活动 */
|
|
recentActivities?: TeacherDashboardResponseRecentActivitiesItem[];
|
|
}
|