1212
This commit is contained in:
@@ -7,7 +7,7 @@ import utils from '@/utils/encode'
|
||||
//42 洛超 /29 孙志华 /40 阿浩
|
||||
// 测试日日顺时需要连阿浩
|
||||
|
||||
const testUrl = 'http://192.168.23:38080'
|
||||
const testUrl = 'http://192.168.26:38080'
|
||||
// const productionUrl = 'https://www.51xingka.net/oilApp' // 生产,加密 old
|
||||
// const productionUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
|
||||
// const productionUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
|
||||
@@ -39,13 +39,16 @@ service.interceptors.request.use(
|
||||
const openId = uni.getStorageSync('openid')
|
||||
const unionId = uni.getStorageSync('unionid')
|
||||
const accountSources = 'LOGIN_MP_WECHAT'
|
||||
|
||||
// console.log(unionId)
|
||||
// 原本为 openid
|
||||
config.headers['Authorization'] = token
|
||||
config.headers['imei'] = unionId
|
||||
config.headers['openId'] = openId
|
||||
config.headers['dataSources'] = 'MP'
|
||||
config.headers['accountSources'] = accountSources
|
||||
config.headers['accountSources'] = accountSources ;
|
||||
config.headers['loginSystem'] = 'OIL_MINI_CLOUD'
|
||||
config.headers['loginDevice'] = 'LOGIN_MP_WECHAT'
|
||||
if (env === 'production') {
|
||||
// 生产环境,加密,不输出任何东西
|
||||
// 设置jsessionid和token
|
||||
|
||||
Reference in New Issue
Block a user