feat: rock 5c

This commit is contained in:
xin 2025-08-08 18:48:46 +08:00
parent bdb5a894fc
commit e12ff1fd28
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
http://xplayer-ota.pureroad.cn/files_20250808_090231.tar.xz http://xplayer-ota.pureroad.cn/files_20250808_184739.tar.xz

View File

@ -44,7 +44,7 @@ generate_upload_token() {
local put_policy="{\"scope\":\"${scope}\",\"deadline\":${deadline}}" local put_policy="{\"scope\":\"${scope}\",\"deadline\":${deadline}}"
# Base64编码上传策略按照七牛云官方文档先base64再替换+/为-_policy需要去掉= # Base64编码上传策略按照七牛云官方文档先base64再替换+/为-_policy需要去掉=
local encoded_put_policy=$(echo -n "$put_policy" | base64 | tr '+/' '-_' | tr -d '=') local encoded_put_policy=$(echo -n "$put_policy" | base64 | tr '+/' '-_')
# 使用HMAC-SHA1签名对编码后的策略进行签名 # 使用HMAC-SHA1签名对编码后的策略进行签名
# 注意签名的base64编码不去掉=号! # 注意签名的base64编码不去掉=号!