更新
This commit is contained in:
@@ -4,7 +4,7 @@ import utils from '@/utils/encode'
|
||||
// const env = process.env.NODE_ENV
|
||||
const env = 'production'/* */
|
||||
// const env = 'test'
|
||||
// const testUrl = 'http://192.168.0.254:38080'
|
||||
const testUrl = 'http://192.168.110.77:38080'
|
||||
// const productUrl = 'http://121.196.213.68/adminapi' //预生产
|
||||
|
||||
const productUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
|
||||
@@ -22,9 +22,8 @@ service.interceptors.request.use(
|
||||
uni.showLoading({
|
||||
title: '加载中...'
|
||||
})
|
||||
const token = uni.getStorageSync('Authorization')
|
||||
const token = uni.getStorageSync('Authorization') || " "
|
||||
const unionId = uni.getStorageSync('unionid')
|
||||
console.log(unionId)
|
||||
const openId = uni.getStorageSync('openid')
|
||||
// const accountSources = 'WE_CHAT_PROGRAM'
|
||||
const accountSources = 'LOGIN_MP_WECHAT'
|
||||
|
||||
Reference in New Issue
Block a user