Browse Source

Update login.ts

lex-xin 4 months ago
parent
commit
19585f9129
1 changed files with 2 additions and 2 deletions
  1. 2 2
      miniprogram/pages/login/login.ts

+ 2 - 2
miniprogram/pages/login/login.ts

@@ -49,7 +49,7 @@ Page({
         client_secret: 'cooleshow-student-wxlite',
         deviceNum: app.globalData.deviceNum,
         extra: JSON.stringify({
-          iv: params.iv,
+          ivStr: params.iv,
           encryptedData: params.encryptedData
         }),
         grant_type: 'password',
@@ -64,7 +64,7 @@ Page({
         client_secret: 'cooleshow-student-wxlite',
         deviceNum: app.globalData.deviceNum,
         extra: JSON.stringify({
-          iv: params.iv,
+          ivStr: params.iv,
           encryptedData: params.encryptedData
         }),
         grant_type: 'password',