feature/im-0602-ch
ch 2 years ago
parent 4ca27cdf8a
commit c474aa0d26

@ -0,0 +1,4 @@
VUE_APP_BASE_URL = https://k8s-horse-gateway.mashibing.cn
VUE_APP_STATIC_URL = https://k8s-shop-app.mashibing.cn
#VUE_APP_IM_URL = ws://192.168.10.94:8090
VUE_APP_IM_URL = wss://k8s-horse-gateway.mashibing.cn

@ -0,0 +1,3 @@
VUE_APP_BASE_URL = https://you-gateway.mashibing.com
VUE_APP_STATIC_URL = https://you-gateway.mashibing.com
VUE_APP_IM_URL = wss://you-gateway.mashibing.com

@ -0,0 +1,3 @@
VUE_APP_BASE_URL = https://k8s-horse-gateway.mashibing.cn
VUE_APP_STATIC_URL = https://k8s-shop-app.mashibing.cn
VUE_APP_IM_URL = wss://k8s-horse-gateway.mashibing.cn

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-17 17:42:32
* @LastEditors: ch
* @LastEditTime: 2022-06-09 14:51:07
* @LastEditTime: 2022-06-10 15:59:04
* @Description: 项目接口请求统一处理器返回一个需要token和不需要token的请求封装方法
*/
@ -84,6 +84,7 @@ const clearRepeat = (option) =>{
// 不需要token的接口封装
const MsbRequest = new MsbUniRequest();
console.log(process.env,'process.envprocess.envprocess.env');
MsbRequest.baseUrl = ENV.baseUrl;
MsbRequest.use('request', (option) => {

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-26 14:32:03
* @LastEditors: ch
* @LastEditTime: 2022-06-10 11:51:39
* @LastEditTime: 2022-06-10 15:00:39
* @Description: file content
-->
<template>
@ -163,7 +163,6 @@ export default {
this.loading = true;
const {error, result} = await ToAsyncAwait(Im.getHistoryMsg());
if(error){
console.log('----');
uni.$u.toast(error.errMsg || error.message);
return false
}

Loading…
Cancel
Save