From 176a924f0881e0b2a4cadb9c0274842bc708a39f Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 20 四月 2025 21:31:54 +0800 Subject: [PATCH] 修改了接口 --- ruoyi-admin/src/main/resources/application.yml | 38 ++++++++++++++++++++++++++++++++------ 1 files changed, 32 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 63adf91..5553b5b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -19,6 +19,14 @@ server: # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080 port: 8080 + ssl: #ssl閰嶇疆 + # resources鏍圭洰褰曠殑鈥濊瘉涔︽簮鏂囦欢.pfx鈥� + key-store: classpath:www.bendudu.com.pfx + # 鈥�.pfx鈥濊瘉涔﹀搴旀牸寮忥紝鈥�.jks"璇佷功瀵瑰簲鈥淩SA鈥� + key-store-type: PKCS12 + key-store-password: 5yheh725 + #key-password: 绉侀挜瀵嗙爜 + servlet: # 搴旂敤鐨勮闂矾寰� context-path: / @@ -49,6 +57,10 @@ # Spring閰嶇疆 spring: + #es閰嶇疆 + elasticsearch: + host: 47.93.189.255 + port: 8087 # 璧勬簮淇℃伅 messages: # 鍥介檯鍖栬祫婧愭枃浠惰矾寰� @@ -59,9 +71,9 @@ servlet: multipart: # 鍗曚釜鏂囦欢澶у皬 - max-file-size: 10MB + max-file-size: 1000MB # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬 - max-request-size: 20MB + max-request-size: 200000MB # 鏈嶅姟妯″潡 devtools: restart: @@ -70,8 +82,8 @@ # redis 閰嶇疆 redis: # 鍦板潃 -# host: localhost - host: 192.168.88.68 + host: localhost +# host: 192.168.88.68 # 绔彛锛岄粯璁や负6379 port: 6379 # 鏁版嵁搴撶储寮� @@ -98,7 +110,7 @@ # 浠ょ墝瀵嗛挜 secret: abcdefghijklmnopqrstuvwxyz # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛� - expireTime: 60 + expireTime: 100 # MyBatis閰嶇疆 mybatis-plus: @@ -124,7 +136,7 @@ pathMapping: /dev-api # 闃叉XSS鏀诲嚮 -xss: +xss: # 杩囨护寮�鍏� enabled: true # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛� @@ -132,3 +144,17 @@ # 鍖归厤閾炬帴 urlPatterns: /system/*,/monitor/*,/tool/* +#鑵捐浜� +tencent: + cos: + secret-id: AKID3ykKitsgIkz2tY0EE3g6IWcWDi087tse # 鏇挎崲涓哄疄闄匰ecretId + secret-key: d4NckmibQApMvIRcbNwHOIyQdoxyvjLj # 鏇挎崲涓哄疄闄匰ecretKey + bucket-name: bendudu-bucket-1325664559 # 瀛樺偍妗跺悕绉� + region: ap-guangzhou # 瀛樺偍妗跺湴鍩� + base-url: https://bendudu-bucket-1325664559.cos.ap-guangzhou.myqcloud.com # 璁块棶鍩虹URL + + + + + + -- Gitblit v1.9.1