- 家长端阅读任务:从 task_target 获取任务(学生+班级),支持家长关联孩子查看 - 家长端提交任务:修复照片上传,使用 uploadFile(file, poster) 符合 API 规范 - 教师端任务列表:TaskResponse 新增 targetCount、completionCount,填充目标人数与完成人数 - 数据库迁移:V45 添加 task_completion.photos,V46 添加 submitted_at、reviewed_at - 其他:班级学生、家长孩子、学校班级统计等修复 Made-with: Cursor
32 lines
680 B
TypeScript
32 lines
680 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 { ClassInfo } from './classInfo';
|
|
import type { StatsInfo } from './statsInfo';
|
|
|
|
/**
|
|
* 家长端孩子详情响应
|
|
*/
|
|
export interface ChildProfileResponse {
|
|
/** 学生ID */
|
|
id?: number;
|
|
/** 姓名 */
|
|
name?: string;
|
|
/** 性别 */
|
|
gender?: string;
|
|
/** 出生日期 */
|
|
birthDate?: string;
|
|
/** 与家长关系 */
|
|
relationship?: string;
|
|
/** 阅读次数 */
|
|
readingCount?: number;
|
|
/** 上课次数 */
|
|
lessonCount?: number;
|
|
stats?: StatsInfo;
|
|
class?: ClassInfo;
|
|
}
|