|
@@ -26,6 +26,7 @@ export function addressRedirection(isCorpWx = false) {
|
|
|
export function obtainEnterpriseWeChatParameters(data = {}) {
|
|
|
const token = data.id
|
|
|
const curUrl = window.location.href.split('#')[0]
|
|
|
+ console.log('开始调用接口')
|
|
|
requests.post(`/wxcorp/getCorpWXConfig`, { url: curUrl, token }).then((res) => {
|
|
|
console.log(res, '<====== 返回的参数 /wxcorp/getCorpWXConfig')
|
|
|
wx.config({
|