Compare commits
No commits in common. "c60367ffc0887d7a7608b7f12860eb706e6a0c6b" and "8b773d5366d1f6149af270530d3d9406300e8980" have entirely different histories.
c60367ffc0
...
8b773d5366
|
@ -9,9 +9,7 @@
|
|||
fetchMemberChangeSpreadId
|
||||
} from "@/api/api";
|
||||
import {
|
||||
HTTP_REQUEST_URL,
|
||||
SPREAD_LINK,
|
||||
WX_APP_ID
|
||||
HTTP_REQUEST_URL
|
||||
} from './config/app';
|
||||
import Auth from './libs/wechat.js';
|
||||
import Routine from './libs/routine.js';
|
||||
|
@ -213,9 +211,9 @@
|
|||
if (redirectUrl) {
|
||||
const tenantId = this.$route.query.tenantId || ''
|
||||
const spreadId = this.$route.query.spreadId || ''
|
||||
const wechatUrl = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + WX_APP_ID
|
||||
const wechatUrl = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7e503d9cded34c07'
|
||||
location.href =
|
||||
`${wechatUrl}&redirect_uri=${redirectUrl}${SPREAD_LINK}?tenantId=${tenantId}&spreadId=${spreadId}&response_type=code&scope=snsapi_base#wechat_redirect`
|
||||
`${wechatUrl}&redirect_uri=${redirectUrl}/pages/member_application/index?tenantId=${tenantId}&spreadId=${spreadId}&response_type=code&scope=snsapi_base#wechat_redirect`
|
||||
}
|
||||
},
|
||||
// 是否扫物业二维码
|
||||
|
|
|
@ -40,14 +40,4 @@ module.exports = {
|
|||
// #endif
|
||||
// 推广码生成访问H5链接地址
|
||||
SPREAD_LINK: '/pages/member_application/index',
|
||||
// 公众号APPID
|
||||
// #ifdef DEV
|
||||
WX_APP_ID: 'wx3b3b17449cc13a8a',
|
||||
// #endif
|
||||
// #ifdef TEST
|
||||
WX_APP_ID: 'wx3b3b17449cc13a8a',
|
||||
// #endif
|
||||
// #ifdef PROD
|
||||
WX_APP_ID: 'wx7e503d9cded34c07',
|
||||
// #endif
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue