Files
YelayMaths/yelaymaths_data.yeomai.site/README.md
T
2026-09-29 15:25:40 +08:00

40 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 课程数据端
存放课程相关的静态资源(图片、HLS 视频)。**大文件不入 git**,本目录只保留结构与说明。
## 目录结构
| 子目录 | 内容 | 引用位置 |
|---|---|---|
| `Images/Banner/` | 首页轮播图 | 首页轮播 |
| `Images/NewCourse/` | 首页「新课上线」封面 | 首页新课 |
| `Images/NewCourseWebPages/` | 新课长图内嵌图 | 新课长图页 |
| `Images/FreeCourse/` | 首页试听封面 | 首页试听 |
| `Images/Course/` | 付费课封面 | 「知识」页课程列表 |
| `Images/Headicons/` | 可选头像 | 「我的」页 |
| `Images/Icon/` | 栏目小图标 | 首页栏目标题 |
| `Images/WXCode/` | 客服二维码 | 「我的」页 |
| `WebPages/` | 知识速通文章配图 | 文章详情 |
| `Course/` | 付费课视频(HLS 切片) | 付费课播放 |
| `FreeVideos/` | 免费试听课视频 | 试听播放 |
## 路径约定(不可更改)
这些路径由前端拼接,改动会导致资源失效:
```
Images/Banner/{图片名}
Images/NewCourse/{首页课程名称}.png
Images/FreeCourse/{首页试听课程名称}.png
WebPages/{网页id}.png
Images/Headicons/Headicon{头像序号}.png
Course/{course.code}.png ← 付费课封面
Course/{course.code}/{章节id}/{播放id}/playlist.m3u8
```
## 待办
- [ ] 从旧服务器搬运资源到此目录(`Images/` 约 195 MB、`WebPages/` 约 21 MB、`Course/`、`FreeVideos/`)
- [ ] 为付费视频目录配置带签名的 CDN 鉴权,防止静态直链盗用