refactor create session

This commit is contained in:
tickstep 2023-04-01 22:17:17 +08:00
parent 45877a4408
commit ab215736a9
2 changed files with 0 additions and 2 deletions

View File

@ -169,7 +169,6 @@ func RefreshTokenInNeed(activeUser *config.PanUser, deviceName string) bool {
}
// create new signature
activeUser.PanClient().CalcSignature()
_, e := activeUser.PanClient().CreateSession(&aliyunpan.CreateSessionParam{
DeviceName: deviceName,
ModelName: "Windows网页版",

View File

@ -137,7 +137,6 @@ doLoginAct:
// create session
appConfig.UserId = u.UserId
panClient.UpdateAppConfig(appConfig)
panClient.CalcSignature()
r, e := panClient.CreateSession(&aliyunpan.CreateSessionParam{
DeviceName: deviceName,
ModelName: "Windows网页版",