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
+1 -1
View File
@@ -1 +1 @@
http://xplayer-ota.pureroad.cn/files_20250808_090231.tar.xz
http://xplayer-ota.pureroad.cn/files_20250808_184739.tar.xz
+1 -1
View File
@@ -44,7 +44,7 @@ generate_upload_token() {
local put_policy="{\"scope\":\"${scope}\",\"deadline\":${deadline}}"
# 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签名(对编码后的策略进行签名)
# 注意:签名的base64编码不去掉=号!