Commit a2ba8fb9 by xinla

--no commit message

1 parent 1f7ef7e2
const config = { const config = {
appId: 'wxa57479bcd3f15461', // 微信公众号id appId: 'wx863c031a74f589a0', // 微信公众号id
cookieExpires: 1, //token在Cookie中存储的天数,默认1天 cookieExpires: 1, //token在Cookie中存储的天数,默认1天
homeName: 'home', //默认打开的首页的路由name值,默认为home homeName: 'home', //默认打开的首页的路由name值,默认为home
services: { services: {
......
...@@ -8,8 +8,8 @@ export function getUrlParam(name) { ...@@ -8,8 +8,8 @@ export function getUrlParam(name) {
return null return null
} }
export function getWxCode() { export function getWxCode() {
// let appid = 'wx863c031a74f589a0' // 公众号appid let appid = 'wx863c031a74f589a0' // 公众号appid
let appid = 'wxa57479bcd3f15461' // 公众号appid // let appid = 'wxa57479bcd3f15461' // 公众号appid
let code = getUrlParam('code') //是否存在code let code = getUrlParam('code') //是否存在code
let local = window.location.origin.includes('localhost') let local = window.location.origin.includes('localhost')
? 'http://h5.linkwechat.cn/test.html' ? 'http://h5.linkwechat.cn/test.html'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!