From ddd56a8f37eb47d933a7064be9341feb8dbd8165 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期四, 04 七月 2024 16:51:34 +0800
Subject: [PATCH] edit params and file Api

---
 pms-parent/pms-global/src/main/resources/application-global.yml |   37 ++++++++++++++++++++++---------------
 1 files changed, 22 insertions(+), 15 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/application-global.yml b/pms-parent/pms-global/src/main/resources/application-global.yml
index bf9e58b..f4e1add 100644
--- a/pms-parent/pms-global/src/main/resources/application-global.yml
+++ b/pms-parent/pms-global/src/main/resources/application-global.yml
@@ -52,7 +52,9 @@
     nginx:
         webPort: 8000
     sso:
-        checkUrl: http://127.0.0.1:12344/sso/sso/ssoCheck
+#        checkUrl: http://127.0.0.1:12344/sso/sso/ssoCheck
+        checkUrl: http://127.0.0.1:12344/sso/sso/ssoPowerCheck
+        curUserUrl: http://127.0.0.1:12344/sso/sso/ssoCurUser
         webPort: 12344
         idSuffix: 1
     base:
@@ -61,13 +63,18 @@
     platform:
         webPort: 12346
         idSuffix: 3
-    product:
+    production:
         webPort: 12347
         idSuffix: 4
     other:
         webPort: 12348
         idSuffix: 5
-
+    station:
+        webPort: 12349
+        idSuffix: 6
+    report:
+        webPort: 12350
+        idSuffix: 7
     file:
         idSuffix: 99
     file1:
@@ -108,7 +115,7 @@
             hashEnd: 5461
             restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file鏄笂涓嬫枃
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx鏈嶅姟璺緞
-            webDownloadUrl: http://127.0.0.1:${pms.file1.webPort}/file/download/down
+            webDownloadPath: /download/down?id=  #瀹為檯涓嬭浇webUrl= restUrl + webDownloadPath
         sv2:
             id: dyFile2
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -117,7 +124,7 @@
             hashEnd: 10923
             restUrl: http://127.0.0.1:${pms.file2.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file2.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv3:
             id: dyFile3
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -126,7 +133,7 @@
             hashEnd: 16385
             restUrl: http://127.0.0.1:${pms.file3.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file3.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv4:
             id: dyFile4
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -135,7 +142,7 @@
             hashEnd: 21847
             restUrl: http://127.0.0.1:${pms.file4.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file4.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv5:
             id: dyFile5
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -144,7 +151,7 @@
             hashEnd: 27309
             restUrl: http://127.0.0.1:${pms.file5.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file5.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv6:
             id: dyFile6
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -153,7 +160,7 @@
             hashEnd: 32767
             restUrl: http://127.0.0.1:${pms.file6.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file6.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv7:
             id: dyFile7
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -162,7 +169,7 @@
             hashEnd: 38229
             restUrl: http://127.0.0.1:${pms.file7.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file7.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv8:
             id: dyFile8
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -171,7 +178,7 @@
             hashEnd: 43691
             restUrl: http://127.0.0.1:${pms.file8.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file8.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv9:
             id: dyFile9
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -180,7 +187,7 @@
             hashEnd: 49153
             restUrl: http://127.0.0.1:${pms.file9.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file9.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv10:
             id: dyFile10
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -189,7 +196,7 @@
             hashEnd: 54615
             restUrl: http://127.0.0.1:${pms.file10.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file10.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv11:
             id: dyFile11
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -198,7 +205,7 @@
             hashEnd: 60077
             restUrl: http://127.0.0.1:${pms.file11.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file11.webPort}/file/download/down
+            webDownloadPath: /download/down?id=
         sv12:
             id: dyFile12
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -207,4 +214,4 @@
             hashEnd: 65535
             restUrl: http://127.0.0.1:${pms.file12.webPort}/file
             webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/
-            webDownloadUrl: http://127.0.0.1:${pms.file12.webPort}/file/download/down
+            webDownloadPath: /download/down?id=

--
Gitblit v1.8.0