http请求相关参数从appconfig获取
parent
edb34fee2b
commit
a80c604b91
|
|
@ -440,7 +440,7 @@ internal class BatchBuild
|
|||
{ "platform", "0" },
|
||||
{ "tag", tag },
|
||||
{ "timestamp", DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString() }
|
||||
});
|
||||
}, PackDataInst.Inst.localInfo.httpKey, PackDataInst.Inst.localInfo.httpAccessKey);
|
||||
|
||||
SendVersionBody body = new()
|
||||
{
|
||||
|
|
@ -499,7 +499,7 @@ internal class BatchBuild
|
|||
string sortParamsStr = string.Join("&", sortedKeys.Select(k => $"{k}={signParams[k]}"));
|
||||
Debug.Log($"[TestPostSendVersion] 签名原文: {sortParamsStr}");
|
||||
|
||||
Dictionary<string, string> headData = PostHeader.PostHeaderInfo(signParams);
|
||||
Dictionary<string, string> headData = PostHeader.PostHeaderInfo(signParams, PackDataInst.Inst.localInfo.httpKey, PackDataInst.Inst.localInfo.httpAccessKey);
|
||||
Debug.Log($"[TestPostSendVersion] signature: {headData["signature"]}");
|
||||
|
||||
SendVersionBody body = new()
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 7672794c61b672ee9c669b00850c96d2524c744d
|
||||
Subproject commit 73d7439c9d982b0e5ef389f4e9337bd775d19749
|
||||
Loading…
Reference in New Issue