From 7523ffb5c5e1144997085feafe0ca09f037441c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <13281114856@qq.com> Date: Sat, 11 Mar 2023 17:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=89=8D=E7=AB=AF=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- study-manager-ui/admin/.env.test | 7 +++++++ study-manager-ui/admin/package.json | 1 + study-manager/pom.xml | 20 ++++++++++---------- 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 study-manager-ui/admin/.env.test diff --git a/study-manager-ui/admin/.env.test b/study-manager-ui/admin/.env.test new file mode 100644 index 0000000..230d00e --- /dev/null +++ b/study-manager-ui/admin/.env.test @@ -0,0 +1,7 @@ +#寮€鍙戠幆澧� +NODE_ENV = "test" +VUE_APP_API_BASE_URL=/basics_api +#闂ㄦ埛 +VUE_APP_API_portal_URL=/portal_home +#鍥剧墖鍦板潃鎷兼帴 +VUE_APP_API_IMG_URL= \ No newline at end of file diff --git a/study-manager-ui/admin/package.json b/study-manager-ui/admin/package.json index 7401d4a..eea7a23 100644 --- a/study-manager-ui/admin/package.json +++ b/study-manager-ui/admin/package.json @@ -5,6 +5,7 @@ "scripts": { "dev": "vue-cli-service serve", "build": "vue-cli-service build", + "test": "vue-cli-service build --mode test", "stage": "vue-cli-service build --mode stage", "build:prod": "vue-cli-service build --model prod" }, diff --git a/study-manager/pom.xml b/study-manager/pom.xml index aed2daf..fa6c8a0 100644 --- a/study-manager/pom.xml +++ b/study-manager/pom.xml @@ -39,12 +39,13 @@ <id>test</id> <properties> <profiles.active>test</profiles.active> + <profiles.server.port>17300</profiles.server.port> <profiles.server.gatewayport>11078</profiles.server.gatewayport> - <profiles.server.path>/sampleform</profiles.server.path> + <profiles.server.path>/study</profiles.server.path> <profiles.publish.path>/home/publish</profiles.publish.path> <profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> - <profiles.nacos.namespace>smart-gov-cs</profiles.nacos.namespace> + <profiles.nacos.namespace>smart-gov-chuanshan</profiles.nacos.namespace> <profiles.log.path>/home/mortals/app/logs</profiles.log.path> <profiles.log.level>INFO</profiles.log.level> <package.environment>test</package.environment> @@ -54,18 +55,17 @@ <profile> <id>product</id> <properties> - <profiles.active>product</profiles.active> - <profiles.server.port>17002</profiles.server.port> - <profiles.nginx.port>11199</profiles.nginx.port> + <profiles.active>test</profiles.active> + <profiles.server.port>17300</profiles.server.port> <profiles.server.gatewayport>11078</profiles.server.gatewayport> - <profiles.server.path>/sampleform</profiles.server.path> - <profiles.nacos.server-addr>172.15.28.120:8848</profiles.nacos.server-addr> + <profiles.server.path>/study</profiles.server.path> + <profiles.publish.path>/home/publish</profiles.publish.path> + <profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> - <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> + <profiles.nacos.namespace>smart-gov-chuanshan</profiles.nacos.namespace> <profiles.log.path>/home/mortals/app/logs</profiles.log.path> <profiles.log.level>INFO</profiles.log.level> - <profiles.publish.path>/home/publish</profiles.publish.path> - <package.environment>build</package.environment> + <package.environment>test</package.environment> <skipUi>false</skipUi> </properties> </profile> -- 2.24.3