Commit 36cd9086 by 张权

任何入口进去都是根据类型判断

1 parent 54f92596
......@@ -68,7 +68,7 @@ export default {
imgUrl: titleUrl || imgUrl
}
if (entry != 'normal'){
// if (entry != 'normal'){
let pdfParam = {
msgtype: 'news',
news: params,
......@@ -79,9 +79,9 @@ export default {
}else{
this.getParam(i, { id, merchantId, uuid })
}
}else{
this.shareAppMessage(params, { id, merchantId, uuid })
}
// }else{
// this.shareAppMessage(params, { id, merchantId, uuid })
// }
}
})
},
......
......@@ -63,7 +63,8 @@ const actions = {
ssoApi
.login({
code,
corpId
corpId,
getUserInfoFlag: false
})
.then(({ code, data, message }) => {
let route = state.lastPath == 'coupon' ? '' : state.lastPath || ''
......@@ -113,8 +114,8 @@ const actions = {
} else {
util.showLoading()
let appid = getParams('corpId') //从链接获取
let dj_scrm = util.getLocalStorage('dj_scrm_corpId')
if (!appid) appid = (dj_scrm && dj_scrm.corpId) || 'ww7ee69c648ae1b7e6'
let dj_scrm = util.getLocalStorage('dj_scrm_corpId')
if (!appid) appid = (dj_scrm && dj_scrm.corpId) || 'wwc33bc9a3c72d45f3'
util.setLocalStorage('dj_scrm_corpId', { corpId: appid })
// 'ww657a2d4ae89a4424'
const wxUrl = 'https://open.weixin.qq.com/connect/oauth2/authorize'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!