From 549479760302bcf4fae817e8ccf24090abe3e11a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 12 Aug 2021 16:48:23 +0800
Subject: [PATCH] 初版集成
---
pages/home/home.vue | 4 ++--
pages/groupChat/chating.vue | 4 ++--
store/mutations.js | 2 +-
pages/groupChat/groupChat.vue | 6 +++---
store/index.js | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/pages/groupChat/chating.vue b/pages/groupChat/chating.vue
index bd837b0..909fe42 100644
--- a/pages/groupChat/chating.vue
+++ b/pages/groupChat/chating.vue
@@ -214,7 +214,7 @@
var that = this;
that.senId = WxStorage.get("ids");
uni.request({
- url:"http://223.82.109.183:2082/api/chat-records/getSingleMessagePage",
+ url:"http://223.82.109.183:2080/api/chat-records/getSingleMessagePage",
method:"get",
data:{
senderId: that.senId,
@@ -337,7 +337,7 @@
}
uni.request({
- url:"http://223.82.109.183:2082/api/chat-records/insertSingleChat",
+ url:"http://223.82.109.183:2080/api/chat-records/insertSingleChat",
method:"post",
data:{
senderId: that.senId,
diff --git a/pages/groupChat/groupChat.vue b/pages/groupChat/groupChat.vue
index a809011..63e799d 100644
--- a/pages/groupChat/groupChat.vue
+++ b/pages/groupChat/groupChat.vue
@@ -139,7 +139,7 @@
var that = this;
if(this.current == 0){
uni.request({
- url:"http://223.82.109.183:2082/api/chat-records/getChatListPage",
+ url:"http://223.82.109.183:2080/api/chat-records/getChatListPage",
method:"get",
data:{
senderId: WxStorage.get("ids")
@@ -157,7 +157,7 @@
});
}else if(this.current == 1){
uni.request({
- url:"http://223.82.109.183:2082/api/chatgroup/selectList",
+ url:"http://223.82.109.183:2080/api/chatgroup/selectList",
method:"POST",
data:{
senderId: WxStorage.get("ids")
@@ -175,7 +175,7 @@
})
}else if(this.current == 2){
uni.request({
- url:"http://223.82.109.183:2082/api/blade-user/pages?current=1&size=9999",
+ url:"http://223.82.109.183:2080/api/blade-user/pages?current=1&size=9999",
method:"get",
data:{
senderId: WxStorage.get("ids")
diff --git a/pages/home/home.vue b/pages/home/home.vue
index a8cd6c5..fb6a7dd 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -114,8 +114,8 @@
</view>
<!-- 新闻模块 end -->
</view>
- <u-button class="ccbut" type="primary" @click="openVideo('Mains')">测试点视频通话:主播</u-button>
- <u-button class="ccbut" type="primary" @click="openVideo('Receiver')">测试点视频通话:第二个</u-button>
+ <!-- <u-button class="ccbut" type="primary" @click="openVideo('Mains')">测试点视频通话:主播</u-button>
+ <u-button class="ccbut" type="primary" @click="openVideo('Receiver')">测试点视频通话:第二个</u-button> -->
</view>
</template>
diff --git a/store/index.js b/store/index.js
index 2178b2a..9b73093 100644
--- a/store/index.js
+++ b/store/index.js
@@ -34,8 +34,8 @@
},
logPath: '',
// piAPI: 'http://223.82.109.183:2080/api',
- piAPI: 'http://223.82.109.183:2082/api',
- api: 'http://192.168.0.111:83',
+ piAPI: 'http://223.82.109.183:2080/api',
+ api: 'http://223.82.109.183:2080/api',
// piAPI: 'http://localhost:82/',
// piAPI: 'http://192.168.0.108:81',
puserName: '',
diff --git a/store/mutations.js b/store/mutations.js
index 1af9752..5ff3855 100644
--- a/store/mutations.js
+++ b/store/mutations.js
@@ -49,7 +49,7 @@
console.log('登入数据传输成功 开始进入连接')
uni.connectSocket({
- url: 'ws://192.168.0.111:9034/websocket'
+ url: 'ws://http://223.82.109.183:2086/websocket'
});
var socketOpen = false;
uni.onSocketOpen(function(res) {
--
Gitblit v1.9.3