From a92c213b64823a444eabaf0b457b316d26315d65 Mon Sep 17 00:00:00 2001 From: chc <1501738723@qq.com> Date: Wed, 28 Dec 2022 09:22:05 +0800 Subject: [PATCH] =?UTF-8?q?IM=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/public/config.js | 2 +- buyer/src/pages/GoodsDetail.vue | 6 +++++- im | 2 +- manager/public/config.js | 8 ++++---- seller/public/config.js | 8 ++++---- seller/src/views/home/home.vue | 2 +- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/buyer/public/config.js b/buyer/public/config.js index d06d9dd2..7a5ded3b 100644 --- a/buyer/public/config.js +++ b/buyer/public/config.js @@ -4,7 +4,7 @@ var BASE = { */ API_DEV: { common: "http://192.168.0.113:8890", - buyer: "http://192.168.0.113:8888", + buyer: "http://192.168.0.113:8898", seller: "https://store-api.pickmall.cn", manager: "https://admin-api.pickmall.cn" }, diff --git a/buyer/src/pages/GoodsDetail.vue b/buyer/src/pages/GoodsDetail.vue index da752845..29db3d2e 100644 --- a/buyer/src/pages/GoodsDetail.vue +++ b/buyer/src/pages/GoodsDetail.vue @@ -98,7 +98,11 @@ export default { "?token=" + accessToken + "&id=" + - this.goodsMsg.data.storeId + this.goodsMsg.data.storeId + + "&goodsId=" + + this.goodsMsg.data.goodsId + + "&skuId=" + + this.goodsMsg.data.id ); }, // 获取im信息 diff --git a/im b/im index 9cecda49..3a179ad3 160000 --- a/im +++ b/im @@ -1 +1 @@ -Subproject commit 9cecda49366e1f472aceeb5fa4ae5e6f87c19c21 +Subproject commit 3a179ad310ad086b589b7628367ae1f6344a683a diff --git a/manager/public/config.js b/manager/public/config.js index ada826fc..7ef1cf91 100644 --- a/manager/public/config.js +++ b/manager/public/config.js @@ -3,10 +3,10 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - common: "https://common-api.pickmall.cn", - buyer: "https://buyer-api.pickmall.cn", - seller: "https://store-api.pickmall.cn", - manager: "https://admin-api.pickmall.cn" + common: "http://192.168.0.113:8890", + buyer: "http://192.168.0.113:8888", + seller: "http://192.168.0.113:8889", + manager: "http://192.168.0.113:8887" }, API_PROD: { common: "https://common-api.pickmall.cn", diff --git a/seller/public/config.js b/seller/public/config.js index 69441029..8e0e70ba 100644 --- a/seller/public/config.js +++ b/seller/public/config.js @@ -3,10 +3,10 @@ var BASE = { * @description api请求基础路径 */ API_DEV: { - common: "https://common-api.pickmall.cn", - buyer: "https://buyer-api.pickmall.cn", - seller: "https://store-api.pickmall.cn", - manager: "https://admin-api.pickmall.cn" + common: "http://192.168.0.113:8890", + buyer: "http://192.168.0.113:8888", + seller: "http://192.168.0.113:8889", + manager: "http://192.168.0.113:8887" }, API_PROD: { common: "https://common-api.pickmall.cn", diff --git a/seller/src/views/home/home.vue b/seller/src/views/home/home.vue index 79bd70f3..7c34b4f5 100644 --- a/seller/src/views/home/home.vue +++ b/seller/src/views/home/home.vue @@ -254,7 +254,7 @@ export default { this.$Message.error("请登录后再联系客服"); return; } - window.open(this.IMLink + "?token=" + accessToken); + window.open(" http://192.168.0.113:8000?token=" + accessToken); }, // 获取im信息