兼容扫码登录短场景参数

This commit is contained in:
汤学会
2026-07-06 11:17:42 +08:00
parent 91c43e703f
commit 28b8dc3773
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -44,10 +44,10 @@ Page({
return text
},
extractTicket(value) {
return this.extractSceneValue(value, ['ticket'])
return this.extractSceneValue(value, ['ticket', 't'])
},
extractSessionId(value) {
return this.extractSceneValue(value, ['session_id', 'sessionId'])
return this.extractSceneValue(value, ['session_id', 'sessionId', 's'])
},
extractSceneValue(value, names) {
const raw = this.decodeRepeated(value)