From d6a1d00d59e4a14896fa621d5791405c877785ba Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 24 八月 2023 20:44:03 +0800 Subject: [PATCH] 提交代码 --- Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml | 23 +++++++++++++++++++++++ Source/UBCS/ubcs-gateway/src/main/resources/application-dev.yml | 12 ++++++++++++ Source/UBCS-WEB/vue.config.js | 4 ++-- 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js index 17e99b5..c78adc1 100644 --- a/Source/UBCS-WEB/vue.config.js +++ b/Source/UBCS-WEB/vue.config.js @@ -26,9 +26,9 @@ proxy: { '/api': { //鏈湴鏈嶅姟鎺ュ彛鍦板潃 - // target: 'http://localhost', + target: 'http://localhost', // target: 'http://192.168.1.51:37000', - target: 'http://dev.vci-tech.com:37000', + // target: 'http://dev.vci-tech.com:37000', // target: 'http://192.168.1.16:37000', // target: 'http://192.168.0.105:37000', //xiejun diff --git a/Source/UBCS/ubcs-gateway/src/main/resources/application-dev.yml b/Source/UBCS/ubcs-gateway/src/main/resources/application-dev.yml index b8eaf54..1ed6d86 100644 --- a/Source/UBCS/ubcs-gateway/src/main/resources/application-dev.yml +++ b/Source/UBCS/ubcs-gateway/src/main/resources/application-dev.yml @@ -9,3 +9,15 @@ prior-ip-pattern: - 192.168.0.* - 127.0.0.1 +server: + port: 80 + +spring: + cloud: + gateway: + discovery: + locator: + enabled: true + loadbalancer: + retry: + enabled: true diff --git a/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml b/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml new file mode 100644 index 0000000..1ed6d86 --- /dev/null +++ b/Source/UBCS/ubcs-gateway/src/main/resources/application-prod.yml @@ -0,0 +1,23 @@ +blade: + #澶氬洟闃熷崗浣滄湇鍔¢厤缃� + loadbalancer: + #寮�鍚厤缃� + enabled: true + #鐏板害鐗堟湰 + #version: 3.0.0 + #璐熻浇鍧囪 浼樺厛璋冪敤鐨刬p娈� + prior-ip-pattern: + - 192.168.0.* + - 127.0.0.1 +server: + port: 80 + +spring: + cloud: + gateway: + discovery: + locator: + enabled: true + loadbalancer: + retry: + enabled: true -- Gitblit v1.9.3