修改bug 替换生产接口
This commit is contained in:
parent
b2742b97d9
commit
25c7dbdfe6
|
@ -10,9 +10,9 @@
|
||||||
// const ROOTPATH = "http://1.92.152.160/sqx_fast";
|
// const ROOTPATH = "http://1.92.152.160/sqx_fast";
|
||||||
// const ROOTPATH1 = "http://1.92.152.160/sqx_fast";
|
// const ROOTPATH1 = "http://1.92.152.160/sqx_fast";
|
||||||
|
|
||||||
const ROOTPATH3 = "wss://sausers.blxinchuang.com/wss/chatSocket/";
|
// const ROOTPATH3 = "wss://sausers.blxinchuang.com/wss/chatSocket/";
|
||||||
const ROOTPATH = "https://sausers.blxinchuang.com/sqx_fast";
|
// const ROOTPATH = "https://sausers.blxinchuang.com/sqx_fast";
|
||||||
const ROOTPATH1 = "https://sausers.blxinchuang.com/sqx_fast";
|
// const ROOTPATH1 = "https://sausers.blxinchuang.com/sqx_fast";
|
||||||
|
|
||||||
// const ROOTPATH3 = "wss://47.75.182.93:8090/wss/websocket/";
|
// const ROOTPATH3 = "wss://47.75.182.93:8090/wss/websocket/";
|
||||||
// const ROOTPATH = "http://47.75.182.93:8090/sqx_fast";
|
// const ROOTPATH = "http://47.75.182.93:8090/sqx_fast";
|
||||||
|
@ -40,9 +40,9 @@ const ROOTPATH1 = "https://sausers.blxinchuang.com/sqx_fast";
|
||||||
// const ROOTPATH1 = "http://192.168.1.50:8187/sqx_fast";
|
// const ROOTPATH1 = "http://192.168.1.50:8187/sqx_fast";
|
||||||
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/";//联系客服
|
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/";//联系客服
|
||||||
//生产环境
|
//生产环境
|
||||||
// const ROOTPATH = "https://wx.sjajk.com/sqx_fast";//生产需替换
|
const ROOTPATH = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
||||||
// const ROOTPATH1 = "https://wx.sjajk.com/sqx_fast";//生产需替换
|
const ROOTPATH1 = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
||||||
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/"; //联系客服//生产需替换
|
const ROOTPATH3 = "wss://admin.sjajk.com/wss/chatSocket/"; //联系客服//生产需替换
|
||||||
|
|
||||||
//上传地址
|
//上传地址
|
||||||
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
||||||
|
@ -58,10 +58,10 @@ const TX_MAP_KEY = 'VIWBZ-5OM3F-CV7JZ-NLKJY-AXSYV-TMFM6';
|
||||||
//ws基础连接地址
|
//ws基础连接地址
|
||||||
// const WS_BASE_PATH = 'ws://47.75.182.93:8090/sqx_fast/';
|
// const WS_BASE_PATH = 'ws://47.75.182.93:8090/sqx_fast/';
|
||||||
// const WS_BASE_PATH = 'ws://192.168.2.15:8187/sqx_fast/';
|
// const WS_BASE_PATH = 'ws://192.168.2.15:8187/sqx_fast/';
|
||||||
const WS_BASE_PATH = 'ws://sausers.blxinchuang.com/sqx_fast/';
|
// const WS_BASE_PATH = 'ws://sausers.blxinchuang.com/sqx_fast/';
|
||||||
// const WS_BASE_PATH = 'ws://1.92.152.160/sqx_fast/';
|
// const WS_BASE_PATH = 'ws://1.92.152.160/sqx_fast/';
|
||||||
// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/';
|
// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/';
|
||||||
// const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换
|
const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换
|
||||||
|
|
||||||
//地图ws接口
|
//地图ws接口
|
||||||
const WS_UPLOAD_MAP_PATH = WS_BASE_PATH + 'mapWebsocket/';
|
const WS_UPLOAD_MAP_PATH = WS_BASE_PATH + 'mapWebsocket/';
|
||||||
|
|
|
@ -18,18 +18,18 @@ module.exports = {
|
||||||
},
|
},
|
||||||
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
|
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
|
||||||
publicYuMing() {
|
publicYuMing() {
|
||||||
// return 'https://admin.sjajk.com'//生产需替换
|
return 'https://admin.sjajk.com'//生产需替换
|
||||||
// return 'http://120.46.52.165'1.92.152.160
|
// return 'http://120.46.52.165'1.92.152.160
|
||||||
// return 'http://192.168.2.15:8187'
|
// return 'http://192.168.2.15:8187'
|
||||||
return 'https://sausers.blxinchuang.com'
|
// return 'https://sausers.blxinchuang.com'
|
||||||
// return 'http://1.92.152.160'
|
// return 'http://1.92.152.160'
|
||||||
// return 'http://47.75.182.93:8090:8187'
|
// return 'http://47.75.182.93:8090:8187'
|
||||||
},
|
},
|
||||||
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
|
//全局域名 部分html中需要单独替换 需要修改config中的网络请求域名
|
||||||
publicYuMingApp() {
|
publicYuMingApp() {
|
||||||
// return 'https://wx.sjajk.com'//生产需替换
|
return 'https://admin.sjajk.com'//生产需替换
|
||||||
// return 'http://120.46.52.165'
|
// return 'http://120.46.52.165'
|
||||||
return 'https://sausers.blxinchuang.com'
|
// return 'https://sausers.blxinchuang.com'
|
||||||
// return 'http://1.92.152.160'
|
// return 'http://1.92.152.160'
|
||||||
// return 'http://192.168.2.15:8187'
|
// return 'http://192.168.2.15:8187'
|
||||||
// return 'http://47.75.182.93:8090:8187'
|
// return 'http://47.75.182.93:8090:8187'
|
||||||
|
|
|
@ -705,7 +705,7 @@
|
||||||
let data = {
|
let data = {
|
||||||
userId: uni.getStorageSync('userId')
|
userId: uni.getStorageSync('userId')
|
||||||
}
|
}
|
||||||
that.$Request.get('app/user/selectUserInfo', data).then(res => {
|
that.$Request.get('/app/user/selectUserInfo', data).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
that.user = res.data
|
that.user = res.data
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,9 +50,9 @@
|
||||||
<button v-if="!weixinLogin" class='confirm-btn' @click="register">手机号登录</button>
|
<button v-if="!weixinLogin" class='confirm-btn' @click="register">手机号登录</button>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<!-- #ifdef H5 -->
|
<!-- #ifdef H5 -->
|
||||||
<!-- <button class='confirm-btn' v-if="isopen" @click="bingwx">微信一键登录</button> -->
|
<button class='confirm-btn' v-if="isopen" @click="bingwx">微信一键登录</button>
|
||||||
<!-- <button v-if="!isopen" class='confirm-btn' @click="register">登录</button> -->
|
<button v-if="!isopen" class='confirm-btn' @click="register">登录</button>
|
||||||
<button class='confirm-btn' @click="register">登录</button>
|
<!-- <button class='confirm-btn' @click="register">登录</button> -->
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<view v-if="!isopen"
|
<view v-if="!isopen"
|
||||||
style="width: 100%;text-align: center;margin-top: 20upx; font-size: 12px;color: #019c88;text-decoration:underline;"
|
style="width: 100%;text-align: center;margin-top: 20upx; font-size: 12px;color: #019c88;text-decoration:underline;"
|
||||||
|
|
|
@ -101,9 +101,9 @@ class Request {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.config = {
|
this.config = {
|
||||||
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
|
baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
|
||||||
// baseUrl: 'http://192.168.2.222:8187/',
|
// baseUrl: 'http://192.168.2.222:8187/',
|
||||||
baseUrl: 'https://sausers.blxinchuang.com/', // 请求的根域名
|
// baseUrl: 'https://sausers.blxinchuang.com/', // 请求的根域名
|
||||||
// baseUrl: 'http://1.92.152.160/', // 请求的根域名
|
// baseUrl: 'http://1.92.152.160/', // 请求的根域名
|
||||||
// baseUrl: 'http://120.46.52.165/', // 请求的根域名
|
// baseUrl: 'http://120.46.52.165/', // 请求的根域名
|
||||||
// baseUrl: 'http://47.75.182.93:8090/',
|
// baseUrl: 'http://47.75.182.93:8090/',
|
||||||
|
|
Loading…
Reference in New Issue