1
This commit is contained in:
@@ -3,15 +3,15 @@ import utils from '@/utils/encode'
|
||||
|
||||
const env = 'test' /* */
|
||||
// const env = 'test'// 仅用于测试、
|
||||
// const env = 'production'
|
||||
// const env = 'production'
|
||||
//42 洛超 /29 孙志华 /40 阿浩
|
||||
// 测试日日顺时需要连阿浩
|
||||
|
||||
const testUrl = 'http://192.168.20: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
|
||||
const productionUrl = 'http://uat.xingoil.com/adminapi'
|
||||
const productionUrl = 'http://119.177.60.118:8000/adminapi'
|
||||
// const env = process.env.NODE_ENV // 环境
|
||||
const service = axios.create({
|
||||
baseURL: env=='production'?productionUrl:testUrl, //
|
||||
@@ -124,7 +124,7 @@ service.interceptors.response.use(
|
||||
title: '下线提醒',
|
||||
confirmText: '重新登录',
|
||||
cancelText: "退出",
|
||||
content: '您的账号在另一微信下登录了星油云站,请确认是否本加油站工作人员操作',
|
||||
content: '您的账号在另一微信下登录了中品云站,请确认是否本加油站工作人员操作',
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
uni.reLaunch({
|
||||
|
||||
Reference in New Issue
Block a user