diff --git a/buyer/public/config.js b/buyer/public/config.js index 7a5ded3b..2272ff76 100644 --- a/buyer/public/config.js +++ b/buyer/public/config.js @@ -1,17 +1,17 @@ var BASE = { - /** - * @description api请求基础路径 - */ - API_DEV: { - common: "http://192.168.0.113:8890", - buyer: "http://192.168.0.113:8898", - seller: "https://store-api.pickmall.cn", - manager: "https://admin-api.pickmall.cn" - }, - API_PROD: { - common: "https://common-api.pickmall.cn", - buyer: "https://buyer-api.pickmall.cn", - seller: "https://store-api.pickmall.cn", - manager: "https://admin-api.pickmall.cn" - }, - }; + /** + * @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" + }, + API_PROD: { + common: "https://common-api.pickmall.cn", + buyer: "https://buyer-api.pickmall.cn", + 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 14fdb13c..736102a2 100644 --- a/buyer/src/pages/GoodsDetail.vue +++ b/buyer/src/pages/GoodsDetail.vue @@ -15,12 +15,12 @@
{{ - goodsMsg.data.storeName -}} + goodsMsg.data.storeName + }} - {{ storeCollected ? "已收藏店铺" : "收藏店铺" }} + {{ storeCollected? "已收藏店铺": "收藏店铺" }} 联系客服
@@ -81,8 +81,19 @@ export default { this.$Message.error("请登录后再联系客服"); return; } + // window.open( + // this.IMLink + + // "?token=" + + // accessToken + + // "&id=" + + // this.goodsMsg.data.storeId + + // "&goodsId=" + + // this.goodsMsg.data.goodsId + + // "&skuId=" + + // this.goodsMsg.data.id + // ); window.open( - this.IMLink + + 'http://192.168.0.139:8000/' + "?token=" + accessToken + "&id=" + diff --git a/im/.env b/im/.env index 38ee6b50..b0a657c7 100644 --- a/im/.env +++ b/im/.env @@ -4,4 +4,8 @@ VUE_APP_API_BASE_URL=https://im-api.pickmall.cn VUE_APP_WEB_SOCKET_URL=wss://im-api.pickmall.cn/lili/webSocket VUE_APP_COMMON=https://common-api.pickmall.cn VUE_APP_WEBSITE_NAME="LiLi IM" -VUE_APP_PC_ORDER_URL=https://store-b2b2c.pickmall.cn +VUE_APP_PC_ORDER_URL=https://pc-b2b2c.pickmall.cn/ +VUE_APP_PC_STORE_ORDER_URL=https://store-b2b2c.pickmall.cn/ +VUE_APP_PC_STORE_ORDER=https://store-b2b2c.pickmall.cn/ +VUE_APP_PC_USER_ORDER=https://pc-b2b2c.pickmall.cn +VUE_APP_PC_STORE_GOODS=https://store-b2b2c.pickmall.cn/ \ No newline at end of file diff --git a/im/.env.development b/im/.env.development index d6973c53..28921b97 100644 --- a/im/.env.development +++ b/im/.env.development @@ -1,7 +1,11 @@ NODE_ENV=development -VUE_APP_PREVIEW=true -VUE_APP_API_BASE_URL=http://192.168.0.113:8885 -VUE_APP_WEB_SOCKET_URL=ws://192.168.0.113:8885/lili/webSocket -VUE_APP_COMMON=http://192.168.0.113:8890 -VUE_APP_PC_URL="http://192.168.0.113:10001" +VUE_APP_PREVIEW=false +VUE_APP_API_BASE_URL=https://im-api.pickmall.cn +VUE_APP_WEB_SOCKET_URL=wss://im-api.pickmall.cn/lili/webSocket +VUE_APP_COMMON=https://common-api.pickmall.cn VUE_APP_WEBSITE_NAME="LiLi IM" +VUE_APP_PC_ORDER_URL=https://pc-b2b2c.pickmall.cn/ +VUE_APP_PC_STORE_ORDER_URL=https://store-b2b2c.pickmall.cn/ +VUE_APP_PC_STORE_ORDER=https://store-b2b2c.pickmall.cn/ +VUE_APP_PC_USER_ORDER=https://pc-b2b2c.pickmall.cn +VUE_APP_PC_STORE_GOODS=https://store-b2b2c.pickmall.cn/ \ No newline at end of file diff --git a/im/src/components/chat/messaege/TextMessage.vue b/im/src/components/chat/messaege/TextMessage.vue index 80008d26..e00377ae 100644 --- a/im/src/components/chat/messaege/TextMessage.vue +++ b/im/src/components/chat/messaege/TextMessage.vue @@ -1,12 +1,9 @@