zengh
2021-08-05 015723541ee16f1047a9fe7362bd108d046497da
pages/groupChat/groupChat.vue
@@ -133,7 +133,7 @@
            var that = this;
            if(this.current == 0){
               uni.request({
                  url:"http://s16s652780.51mypc.cn/api/chat-records/getChatListPage",
                  url:that.$store.state.piAPI + "/chat-records/getChatListPage",
                  method:"get",
                  data:{
                     senderId: WxStorage.get("ids")
@@ -142,7 +142,7 @@
                     var resdata = res.data.data;
                     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";
                        }
                     }
                     that.dataListP = resdata;
@@ -151,7 +151,7 @@
               });
            }else if(this.current == 1){
               uni.request({
                  url:"http://s16s652780.51mypc.cn/api/chatgroup/selectList",
                  url:that.$store.state.piAPI + "/chatgroup/selectList",
                  method:"POST",
                  data:{
                     senderId: WxStorage.get("ids")
@@ -160,7 +160,7 @@
                     var resdata = res.data.data;   
                     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/qunz.png";
                           resdata[i].avatar = "http://223.82.109.183:2082/img/bg/qunz.png";
                        }
                     }
                     that.dataListQZ = resdata;
@@ -169,7 +169,7 @@
               })
            }else if(this.current == 2){
               uni.request({
                  url:"http://s16s652780.51mypc.cn/api//blade-user/pagetxl?current=1&size=9999",
                  url:that.$store.state.piAPI + "//blade-user/pagetxl?current=1&size=9999",
                  method:"get",
                  data:{
                     senderId: WxStorage.get("ids")
@@ -179,7 +179,7 @@
                     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";
                        }
                     }
                     that.dataListTXL = resdata;