增加七牛回调配置与签名验签能力

This commit is contained in:
hello-dd-code
2026-02-28 16:43:54 +08:00
parent 016c47ba75
commit 37868e6654
4 changed files with 176 additions and 1 deletions
+7
View File
@@ -55,6 +55,13 @@ QINIU_CDN_DOMAIN=
QINIU_KEY_PREFIX=uploads/
# token 有效期(秒)
QINIU_TOKEN_EXPIRE_SECONDS=300
# 上传回调地址(可选):配置后,七牛上传成功会回调该地址
# 示例: https://api.example.com/api/v1/common/upload/qiniu/callback
QINIU_CALLBACK_URL=
# 回调内容模板(可选)
QINIU_CALLBACK_BODY=key=$(key)&hash=$(etag)&fsize=$(fsize)&mimeType=$(mimeType)
# 回调内容类型(可选)
QINIU_CALLBACK_BODY_TYPE=application/x-www-form-urlencoded
# 微信公众号(网页授权 OAuth2)
WECHAT_OA_APP_ID=replace-with-oa-appid