|
|
|
|
@ -13,12 +13,14 @@ uni.$http = $http;
|
|
|
|
|
|
|
|
|
|
// 请求的根路径
|
|
|
|
|
// #ifdef H5
|
|
|
|
|
$http.baseUrl = 'https://www.sanduolantoyoga.com/yoga'
|
|
|
|
|
// $http.baseUrl = 'https://www.sanduolantoyoga.com/yoga'
|
|
|
|
|
$http.baseUrl = 'https://yoga.runpengsoft.com/yoga'
|
|
|
|
|
// $http.baseUrl = 'http://192.168.13.9:8083'
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
//#ifdef APP-PLUS
|
|
|
|
|
$http.baseUrl = 'https://www.sanduolantoyoga.com/yoga'
|
|
|
|
|
// $http.baseUrl = 'https://www.sanduolantoyoga.com/yoga'
|
|
|
|
|
$http.baseUrl = 'https://yoga.runpengsoft.com/yoga'
|
|
|
|
|
// $http.baseUrl = 'http://192.168.13.9:8083'
|
|
|
|
|
//#endif
|
|
|
|
|
|
|
|
|
|
@ -26,12 +28,14 @@ $http.baseUrl = 'https://www.sanduolantoyoga.com/yoga'
|
|
|
|
|
// WebSocket 地址(可根据平台条件编译)
|
|
|
|
|
// #ifdef H5
|
|
|
|
|
// Vue.prototype.$wsUrl = 'ws://192.168.13.9:8528/im' // 开发环境
|
|
|
|
|
Vue.prototype.$wsUrl = 'wss://www.sanduolantoyoga.com/yoga-imserver' // 生产环境
|
|
|
|
|
// Vue.prototype.$wsUrl = 'wss://www.sanduolantoyoga.com/yoga-imserver' // 生产环境
|
|
|
|
|
Vue.prototype.$wsUrl = 'wss://www.sanduolantoyoga.com/yoga-imserver/' // 生产环境
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|
// Vue.prototype.$wsUrl = 'ws://192.168.13.9:8528/im' // 开发环境
|
|
|
|
|
Vue.prototype.$wsUrl = 'wss://www.sanduolantoyoga.com/yoga-imserver' // 生产环境
|
|
|
|
|
// Vue.prototype.$wsUrl = 'wss://www.sanduolantoyoga.com/yoga-imserver' // 生产环境
|
|
|
|
|
Vue.prototype.$wsUrl = 'wss://yoga.runpengsoft.com/yoga-imserver/' // 生产环境
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
// 请求开始之前做一些事情
|
|
|
|
|
|