From 77c19fdea69cb4589f1b6b49d028608b16de3a2e Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期三, 21 八月 2024 10:29:20 +0800 Subject: [PATCH] fix order manage --- pms-parent/pms-global/src/main/resources/application-global.yml | 36 ++++++++++++++++++++---------------- 1 files changed, 20 insertions(+), 16 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 18aa106..690b37c 100644 --- a/pms-parent/pms-global/src/main/resources/application-global.yml +++ b/pms-parent/pms-global/src/main/resources/application-global.yml @@ -43,16 +43,20 @@ cache-enabled: true #鎵撳紑鍏ㄥ眬缂撳瓨寮�鍏筹紙浜岀骇鐜锛夛紝榛樿鍊兼槸true #default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler + +#涓嶈繘琛寀serToken杩囨护鐨刄RL锛孈ConfigurationProperties瑕佹眰tokennofilter涓墍鏈夊瓧姣嶉兘灏忓啓 +tokennofilter: + urls: + - /sso/sso pms: global: dev: true #鏄惁寮�鍙戦樁娈碉紝true鎴杅alse锛屽紑鍙戦樁娈典笉杩涜鐧诲綍楠岃瘉鍙婃潈闄愰獙璇� - ssoUserExpireAfterAccess: 60 #sso鐧诲綍鍚庯紝鐢ㄦ埛鍦ㄤ竴瀹氭椂闂达紙ssoUserExpireAfterAccess锛夛紙鍒嗛挓锛夊唴鏈闂郴缁燂紝绯荤粺娓呴櫎缂撳瓨淇℃伅锛屼娇鐢ㄩ噸鏂扮櫥褰曠郴缁� + ssoUserExpireAfterAccess: 60 #sso鐧诲綍鍚庯紝鐢ㄦ埛鍦ㄤ竴瀹氭椂闂达紙ssoUserExpireAfterAccess锛夛紙鍒嗛挓锛夊唴鏈闂郴缁燂紝绯荤粺娓呴櫎缂撳瓨淇℃伅锛屼娇鍏堕噸鏂扮櫥褰曠郴缁� ssoCacheSizeInit: 10 #sso缂撳瓨鍒濆瀹归噺 ssoCacheSizeMax: 10000 #sso缂撳瓨鏈�澶у閲忥紝鍗虫敮鎸乻soCacheSizeMax涓敤鎴峰悓鏃剁櫥褰� nginx: webPort: 8000 sso: -# 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 @@ -114,9 +118,9 @@ relativePath: webFile1 hashStart: 0 hashEnd: 5461 - restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file鏄笂涓嬫枃 - webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx鏈嶅姟璺緞 - webDownloadPath: /download/down?id= #瀹為檯涓嬭浇webUrl= restUrl + webDownloadPath + restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file鏄笂涓嬫枃,ip涓哄眬鍩熺綉ip鎴栨湰鍦癐P + webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx鏈嶅姟璺緞,瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚� + webDownloadPath: http://127.0.0.1:${pms.file1.webPort}/file/download/down?id= #瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚� sv2: id: dyFile2 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -125,7 +129,7 @@ hashEnd: 10923 restUrl: http://127.0.0.1:${pms.file2.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file2.webPort}/file/download/down?id= sv3: id: dyFile3 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -134,7 +138,7 @@ hashEnd: 16385 restUrl: http://127.0.0.1:${pms.file3.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file3.webPort}/file/download/down?id= sv4: id: dyFile4 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -143,7 +147,7 @@ hashEnd: 21847 restUrl: http://127.0.0.1:${pms.file4.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file4.webPort}/file/download/down?id= sv5: id: dyFile5 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -152,7 +156,7 @@ hashEnd: 27309 restUrl: http://127.0.0.1:${pms.file5.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file5.webPort}/file/download/down?id= sv6: id: dyFile6 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -161,7 +165,7 @@ hashEnd: 32767 restUrl: http://127.0.0.1:${pms.file6.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file6.webPort}/file/download/down?id= sv7: id: dyFile7 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -170,7 +174,7 @@ hashEnd: 38229 restUrl: http://127.0.0.1:${pms.file7.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file7.webPort}/file/download/down?id= sv8: id: dyFile8 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -179,7 +183,7 @@ hashEnd: 43691 restUrl: http://127.0.0.1:${pms.file8.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file8.webPort}/file/download/down?id= sv9: id: dyFile9 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -188,7 +192,7 @@ hashEnd: 49153 restUrl: http://127.0.0.1:${pms.file9.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file9.webPort}/file/download/down?id= sv10: id: dyFile10 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -197,7 +201,7 @@ hashEnd: 54615 restUrl: http://127.0.0.1:${pms.file10.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file10.webPort}/file/download/down?id= sv11: id: dyFile11 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -206,7 +210,7 @@ hashEnd: 60077 restUrl: http://127.0.0.1:${pms.file11.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file11.webPort}/file/download/down?id= sv12: id: dyFile12 absolutePath: E:/java/nginx-1.24.0/html/webfiles/ @@ -215,4 +219,4 @@ hashEnd: 65535 restUrl: http://127.0.0.1:${pms.file12.webPort}/file webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ - webDownloadPath: /download/down?id= + webDownloadPath: http://127.0.0.1:${pms.file12.webPort}/file/download/down?id= -- Gitblit v1.8.0