| | |
| | | var that = this; |
| | | if (this.current == 0) { |
| | | uni.request({ |
| | | url: "http://223.82.109.183:2080/api/chat-records/getChatListPage", |
| | | url: this.$store.state.piAPI + "/chat-records/getChatListPage", |
| | | method: "get", |
| | | data: { |
| | | senderId: WxStorage.get("ids") |
| | |
| | | }); |
| | | } else if (this.current == 1) { |
| | | uni.request({ |
| | | url: "http://223.82.109.183:2080/api/blade-user/page?current=1&size=9999", |
| | | url: this.$store.state.piAPI + "/blade-user/page?current=1&size=9999", |
| | | method: "get", |
| | | data: { |
| | | senderId: WxStorage.get("ids") |
| | |
| | | } else if (this.current == 2) { |
| | | |
| | | uni.request({ |
| | | url: "http://223.82.109.183:2080/api/chatgroup/selectList", |
| | | url: this.$store.state.piAPI + "/chatgroup/selectList", |
| | | method: "POST", |
| | | data: { |
| | | senderId: WxStorage.get("ids") |