This commit is contained in:
2026-06-10 15:18:49 +08:00
parent b4a9ca9e9b
commit 97ade4fb27
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -22,6 +22,7 @@ video_item/
| Redis | >= 6 | 可选,推荐用于限流/验证码/Celery |
| FFmpeg | 任意 | 可选,用于视频封面截帧 |
| alipay-sdk-python | >=3.7.1160 | 可选,用于支付 |
| ca-certificates | 任意 | **必须**,HTTPS 请求需要(新服务器/容器常缺) |
---
@@ -30,6 +31,12 @@ video_item/
### 1. 安装依赖
```bash
# ⚠️ 新服务器/容器必须先装 CA 证书,否则 HTTPS 请求(支付宝/火山等)全部失败
# CentOS/RHEL
sudo yum install -y ca-certificates
# Ubuntu/Debian
sudo apt-get install -y ca-certificates
cd video-gen-api
# 创建虚拟环境