mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 22:42:15 +08:00
fix signature update error
This commit is contained in:
parent
4ba61c19c8
commit
c5a5cb906d
@ -168,8 +168,8 @@ func RefreshTokenInNeed(activeUser *config.PanUser, deviceName string) bool {
|
|||||||
logger.Verbosef("UserTokenRefreshFinishCallback error: " + er1.Error())
|
logger.Verbosef("UserTokenRefreshFinishCallback error: " + er1.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
// update signature
|
// create new signature
|
||||||
activeUser.PanClient().CalcNextSignature()
|
activeUser.PanClient().CalcSignature()
|
||||||
_, e := activeUser.PanClient().CreateSession(&aliyunpan.CreateSessionParam{
|
_, e := activeUser.PanClient().CreateSession(&aliyunpan.CreateSessionParam{
|
||||||
DeviceName: deviceName,
|
DeviceName: deviceName,
|
||||||
ModelName: "Windows网页版",
|
ModelName: "Windows网页版",
|
||||||
|
Loading…
Reference in New Issue
Block a user