This commit is contained in:
parent
55eab99af0
commit
3214f66fb9
|
|
@ -5,7 +5,7 @@ import './index.scss'
|
|||
// xunmeng2,devcon
|
||||
|
||||
const LINK_PREFIX = '/p/'
|
||||
const DEFAULT_LINK_CODE = 'Gbym'
|
||||
const DEFAULT_LINK_CODE = 'PJQQ'
|
||||
const LANDING_PAGE_URL = '/pages/landing/index'
|
||||
|
||||
function isValidLinkCode (code: string) {
|
||||
|
|
@ -53,7 +53,7 @@ export default function Index () {
|
|||
const wxCode = await Taro.login()
|
||||
const linkCode = normalizeQrLinkCode(scene)
|
||||
|
||||
console.log('Page loaded.', wxCode)
|
||||
console.log('Page loaded.', LINK_PREFIX, linkCode, wxCode)
|
||||
setUrl(`https://nb.zuom8.cn${LINK_PREFIX}${encodeURIComponent(linkCode)}?mpCode=${encodeURIComponent(wxCode.code)}`)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue