课程、文章审核

This commit is contained in:
2025-11-19 15:11:30 +08:00
parent 4ab8877b80
commit d568781ce9
24 changed files with 379 additions and 65 deletions

View File

@@ -116,6 +116,7 @@ export interface DataCollectionItem extends BaseDTO {
title?: string;
/** 内容HTML格式 */
content?: string;
isAudited?:boolean;
/** 来源URL */
sourceUrl?: string;
/** 发布时间 */

View File

@@ -85,7 +85,9 @@ export enum ResourceStatus {
/** 已发布 */
PUBLISHED = 1,
/** 下架 */
OFFLINE = 2
OFFLINE = 2,
/** 审核失败 */
FAILED = 3
}
/**
@@ -97,7 +99,9 @@ export enum CourseStatus {
/** 已上线 */
ONLINE = 1,
/** 已下架 */
DISABLED = 2
DISABLED = 2,
/** 审核失败 */
FAILED = 3
}
/**
@@ -131,7 +135,9 @@ export enum ArticleStatus {
/** 已发布 */
PUBLISHED = 1,
/** 下架 */
OFFLINE = 2
OFFLINE = 2,
/** 审核失败 */
FAILED = 3
}
/**

View File

@@ -24,6 +24,7 @@ export interface Resource extends BaseDTO {
tagID?: string;
/** 作者 */
author?: string;
isAudited?:boolean;
/** 来源 */
source?: string;
/** 来源URL */

View File

@@ -105,6 +105,7 @@ export interface CourseNode extends BaseDTO {
nodeType?: number;
/** 资源ID */
resourceID?: string;
isAudited?:boolean;
/** 视频URL */
videoUrl?: string;
/** 节点时长(分钟) */