新增功能: - 后端新增套餐状态管理端点(下架、重新发布、撤销审核) - 前端套餐详情页增加完整状态流转操作 - 前端套餐管理增加课程包添加/移除功能 - 修复套餐详情页空值引用错误 - 新增 collections.ts API 封装模块 后端变更: - AdminCourseCollectionController 新增 archive/republish/withdraw 端点 - CourseCollectionService 新增对应服务方法 前端变更: - collections.ts 新增 API 封装 - CollectionDetailView 增加状态管理按钮和课程包管理 - CollectionListView 增加状态筛选和操作按钮 - 修复 route 配置和 API 调用路径 - 合并远程更新,解决 TenantListView.vue 冲突 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
866 B
TypeScript
40 lines
866 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 { LibrarySummary } from './librarySummary';
|
|
|
|
/**
|
|
* 资源项响应
|
|
*/
|
|
export interface ResourceItemResponse {
|
|
/** ID */
|
|
id?: number;
|
|
/** 资源库 ID */
|
|
libraryId?: string;
|
|
/** 租户 ID */
|
|
tenantId?: string;
|
|
/** 资源标题 */
|
|
title?: string;
|
|
/** 文件类型 (IMAGE/PDF/VIDEO/AUDIO/PPT/OTHER) */
|
|
fileType?: string;
|
|
/** 文件路径 */
|
|
filePath?: string;
|
|
/** 文件大小(字节) */
|
|
fileSize?: number;
|
|
/** 资源标签 */
|
|
tags?: string[];
|
|
library?: LibrarySummary;
|
|
/** 资源描述 */
|
|
description?: string;
|
|
/** 状态 */
|
|
status?: string;
|
|
/** 创建时间 */
|
|
createdAt?: string;
|
|
/** 更新时间 */
|
|
updatedAt?: string;
|
|
}
|