zengh
2021-08-05 015723541ee16f1047a9fe7362bd108d046497da
pages/groupChat/chating.vue
@@ -209,7 +209,7 @@
            var that = this;
            that.senId = WxStorage.get("ids");
            uni.request({
               url:"http://s16s652780.51mypc.cn/api/chat-records/getSingleMessagePage",
               url:that.$store.state.piAPI + "/chat-records/getSingleMessagePage",
               method:"get",
               data:{
                  senderId: that.senId,
@@ -222,7 +222,7 @@
                  var resdata = res.data.data.user;
                  for (var i = 0; i < resdata.length; i++) {
                     if(resdata[i].avatar == null || resdata[i].avatar == ""){
                        resdata[i].avatar = "http://s16s652780.51mypc.cn/img/bg/img-logo.png";
                        resdata[i].avatar = "http://223.82.109.183:2082/img/bg/img-logo.png";
                     }
                     
                     if(resdata[i].id == that.senId){
@@ -332,7 +332,7 @@
            }
            
            uni.request({
               url:"http://s16s652780.51mypc.cn/api/chat-records/insertSingleChat",
               url:that.$store.state.piAPI + "/chat-records/insertSingleChat",
               method:"post",
               data:{
                  senderId: that.senId,