Commit f3d12ea1 by xinla

--no commit message

1 parent 06c11596
...@@ -9,7 +9,7 @@ const envs = { ...@@ -9,7 +9,7 @@ const envs = {
}, },
production: { production: {
BASE_URL: '/mobile/', // 路由基础路径 BASE_URL: '/mobile/', // 路由基础路径
BASE_API: 'http://saas.linkwechat.cn/prod-api', BASE_API: 'http://demo.linkwechat.cn/prod-api',
}, },
} }
let env = envs[process.env.VUE_APP_ENV] let env = envs[process.env.VUE_APP_ENV]
......
...@@ -15,9 +15,9 @@ const common = { ...@@ -15,9 +15,9 @@ const common = {
// QRCODE_CUSTOMER_SERVICE: env.BASE_URL + 'static/QRCODE_CUSTOMER_SERVICE.png', // QRCODE_CUSTOMER_SERVICE: env.BASE_URL + 'static/QRCODE_CUSTOMER_SERVICE.png',
// IS_PUBLISH_DIALOG: true, // 是否显示发布弹窗 // IS_PUBLISH_DIALOG: true, // 是否显示发布弹窗
IS_VCONSOLE: true, // 是否显示发布弹窗 IS_VCONSOLE: true, // 是否显示发布弹窗
APPID: 'wx863c031a74f589a0', // 微信公众号id
} }
const config = { const config = {
appId: 'wx863c031a74f589a0', // 微信公众号id
cookieExpires: 1, //token在Cookie中存储的天数,默认1天 cookieExpires: 1, //token在Cookie中存储的天数,默认1天
homeName: 'home', //默认打开的首页的路由name值,默认为home homeName: 'home', //默认打开的首页的路由name值,默认为home
services: { services: {
......
...@@ -69,7 +69,7 @@ export async function getWxCode() { ...@@ -69,7 +69,7 @@ export async function getWxCode() {
} }
//缓存中没有用户信息,进入授权流程 //缓存中没有用户信息,进入授权流程
let appid = window.CONFIG.appId // 公众号appid let appid = window.lwConfig.APPID // 公众号appid
// let appid = 'wx8bfe6bc2ca5c45ae' // 公众号appid // let appid = 'wx8bfe6bc2ca5c45ae' // 公众号appid
let code = getQueryValue('code') //是否存在code let code = getQueryValue('code') //是否存在code
let local = window.location.origin.includes('localhost') let local = window.location.origin.includes('localhost')
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
methods: { methods: {
getWxCode() { getWxCode() {
try { try {
let appid = window.CONFIG.appId // 公众号appid let appid = window.lwConfig.APPID // 公众号appid
// let appid = 'wx8bfe6bc2ca5c45ae' // 公众号appid // let appid = 'wx8bfe6bc2ca5c45ae' // 公众号appid
alert(2) alert(2)
let code = getQueryValue('code') //是否存在code let code = getQueryValue('code') //是否存在code
......
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
let form = { let form = {
orderNo: this.redPacket.orderId, // 订单id orderNo: this.redPacket.orderId, // 订单id
openId: this.openId, // 客户公众号id openId: this.openId, // 客户公众号id
appId: window.CONFIG.appId, // 微信公众号id appId: window.lwConfig.APPID, // 微信公众号id
chatId: this.redPacket.chatId, // 客户企微id chatId: this.redPacket.chatId, // 客户企微id
externalUserid: this.redPacket.externalUserid, // 客户企微id externalUserid: this.redPacket.externalUserid, // 客户企微id
receiveName: this.receiveName, receiveName: this.receiveName,
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
let form = { let form = {
orderNo: this.redPacket.orderId, // 订单id orderNo: this.redPacket.orderId, // 订单id
openId: this.openId, // 客户公众号id openId: this.openId, // 客户公众号id
appId: window.CONFIG.appId, // 微信公众号id appId: window.lwConfig.APPID, // 微信公众号id
chatId: this.redPacket.chatId, // 客户群企微id chatId: this.redPacket.chatId, // 客户群企微id
// externalUserid: this.redPacket.externalUserid, // 客户企微id // externalUserid: this.redPacket.externalUserid, // 客户企微id
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!