Commit 8df91f24 by liwk

commit

1 parent 72fd490d
...@@ -111,9 +111,9 @@ const actions = { ...@@ -111,9 +111,9 @@ const actions = {
util.showLoading() util.showLoading()
let appid = getParams('corpId') //从链接获取 let appid = getParams('corpId') //从链接获取
let dj_scrm = util.getLocalStorage('dj_scrm_corpId') let dj_scrm = util.getLocalStorage('dj_scrm_corpId')
if (!appid) appid = dj_scrm ? dj_scrm.corpId : 'ww7ee69c648ae1b7e6' // if (!appid) appid = dj_scrm ? dj_scrm.corpId : 'ww7ee69c648ae1b7e6'
// //
util.setLocalStorage('dj_scrm_corpId', { corpId: appid }) // util.setLocalStorage('dj_scrm_corpId', { corpId: appid })
// 'ww657a2d4ae89a4424' // 'ww657a2d4ae89a4424'
// const wxUrl = 'https://open.weixin.qq.com/connect/oauth2/authorize' // const wxUrl = 'https://open.weixin.qq.com/connect/oauth2/authorize'
// window.location.href = `${wxUrl}?appid=${appid}&redirect_uri=${encodeURIComponent(redirectUrl)}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect` // window.location.href = `${wxUrl}?appid=${appid}&redirect_uri=${encodeURIComponent(redirectUrl)}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!