From 464e40b6e9f7b3525c8132799dd0ab3d5e6f2ae5 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Mon, 17 Oct 2022 10:05:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E4=BB=A3=E7=A0=81libcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- package.json | 4 ++-- src/views/index.vue | 2 +- src/views/module/bookDetails.vue | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.production b/.env.production index 1d3db93..1eb400c 100644 --- a/.env.production +++ b/.env.production @@ -3,7 +3,7 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http # VUE_APP_BASE_API = 'https://openapitest.aiyxlib.com' -VUE_APP_BASE_API = 'http://192.168.99.107:7070' +# VUE_APP_BASE_API = 'http://192.168.99.107:7070' +VUE_APP_BASE_API = 'http://172.16.0.23:8080' # 如果接口是 http 形式, wss 需要改为 ws VUE_APP_WS_API = 'ws://192.168.99.107:7071' -VUE_APP_CAMERA_API = '192.168.99.107' diff --git a/package.json b/package.json index 11ecb57..71d53b4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "intelligence-screen", + "name": "intelligence-bookshelf", "version": "1.0.0", - "description": "智慧大屏", + "description": "智慧书架", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", diff --git a/src/views/index.vue b/src/views/index.vue index 7b37e5d..ff5e74a 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -103,7 +103,7 @@ export default { }, toRoomNav() { const linkSrc = process.env.VUE_APP_BASE_API - window.location.href = linkSrc + '/anchoring/initVenueNavigation.do?libcode=1201' + window.location.href = linkSrc + '/anchoring/initVenueNavigation.do?libcode='+this.libcode }, // 首页 - 新书推荐 getNewBookList() { diff --git a/src/views/module/bookDetails.vue b/src/views/module/bookDetails.vue index b7f1cef..93e9cc4 100644 --- a/src/views/module/bookDetails.vue +++ b/src/views/module/bookDetails.vue @@ -59,7 +59,7 @@ export default { methods: { toBookNav(index) { const linkSrc = process.env.VUE_APP_BASE_API - window.location.href = linkSrc + '/anchoring/goNavigation.do?libcode=1201&eqmNo=001&barcode=' + this.bookData.places[index].barcode + window.location.href = linkSrc + '/anchoring/goNavigation.do?=libcode' + this.libcode + '&eqmNo=001&barcode=' + this.bookData.places[index].barcode } } }