增加微信支付的逻辑
This commit is contained in:
+9
-1
@@ -22,8 +22,11 @@ video_item/
|
||||
| Redis | >= 6 | 可选,推荐用于限流/验证码/Celery |
|
||||
| FFmpeg | 任意 | 可选,用于视频封面截帧 |
|
||||
| alipay-sdk-python | >=3.7.1160 | 可选,用于支付 |
|
||||
| wechatpayv3 | >=2.0.2 | 可选,用于支付 |
|
||||
| volcengine-python-sdk | >=1.1.0 | 可选,用于视频生成 |
|
||||
| ca-certificates | 任意 | **必须**,HTTPS 请求需要(新服务器/容器常缺) |
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 二、后端部署 (video-gen-api)
|
||||
@@ -58,8 +61,13 @@ pip install -e ".[pg,redis,celery]"
|
||||
#安装阿里支付sdk
|
||||
pip install -e ".[pg,redis,celery,alipay]"
|
||||
|
||||
# 安装微信支付sdk
|
||||
pip install -e ".[pg,redis,celery,alipay,wechatpayv3]"
|
||||
|
||||
#安装火山sdk
|
||||
pip install -e ".[pg,redis,celery,alipay,volc]"
|
||||
pip install -e ".[pg,redis,celery,alipay,wechatpayv3,volc]"
|
||||
|
||||
|
||||
```
|
||||
|
||||
### 2. 配置环境变量
|
||||
|
||||
Reference in New Issue
Block a user