feat: 完成分类、worksheet 接口开发,资源迁移到七牛
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/** 最小旧格式样本,不依赖附件路径或线上文件。 */
|
||||
export const worksheetFixture = {
|
||||
_id: 'worksheet-import-one',
|
||||
title: '导入测试',
|
||||
subtitle: '',
|
||||
category: 'worksheet-import-test',
|
||||
subcategory: '',
|
||||
path: '/mathPages/mathDraw/mathDraw?id=worksheet-import-one',
|
||||
ageMin: 3,
|
||||
ageMax: 6,
|
||||
grade: 0,
|
||||
difficulty: 1,
|
||||
previewImg: 'cloud://fixture-env/assets/previews/one.jpg',
|
||||
tags: ['数学'],
|
||||
isNew: false,
|
||||
isHot: true,
|
||||
sortOrder: 5,
|
||||
downloads: 23,
|
||||
likes: 2,
|
||||
status: 'active',
|
||||
createdAt: { $date: '2026-04-24T05:26:16.507Z' },
|
||||
updatedAt: { $date: '2026-09-07T05:43:03.511Z' },
|
||||
downloads_seed: 12,
|
||||
likes_seed: 14,
|
||||
};
|
||||
Reference in New Issue
Block a user