From 570a45947f41bc8ae9e2b0f08acdb296b4bf6099 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 13 五月 2025 11:58:44 +0800 Subject: [PATCH] sql、配置文件redis、mysql链接公司测试服 --- config/application.yml | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config/application.yml b/config/application.yml index 5214307..5f04ee7 100644 --- a/config/application.yml +++ b/config/application.yml @@ -29,9 +29,10 @@ type: redis # Redis redis: - host: 127.0.0.1 + host: 42.193.1.25 port: 6379 -# password: lilishop + password: ycl2018 + database: 12 lettuce: pool: # 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級 榛樿 8 @@ -60,9 +61,9 @@ default-datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://42.193.1.25:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root - password: 123456 + password: 321$YcYl@1970! maxActive: 50 initialSize: 20 maxWait: 60000 @@ -204,7 +205,7 @@ #鍥惧舰楠岃瘉鐮佹湁鏁堟椂闂� 绉� 鍖呭惈婊戝潡楠岃瘉鐮佹湁鏁堟椂闂达紝 浠ュ強楠岃瘉閫氳繃涔嬪悗锛岀紦瀛樹腑瀛樺偍鐨勯獙璇佺粨鏋滄湁鏁堟椂闂� effectiveTime: 300 #姘村嵃 - watermark: LILI-SHOP + watermark: 缁挎弧绛� #骞叉壈椤规暟閲� 鏈�澶�2 榛樿0 interfereNum: 1 #鍏佽璇樊鍍忕礌 @@ -242,7 +243,7 @@ # jwt 缁嗚妭璁惧畾 jwt-setting: # token杩囨湡鏃堕棿锛堝垎閽燂級 - tokenExpireTime: 30 + tokenExpireTime: 360 # 浣跨敤Spring @Cacheable娉ㄨВ澶辨晥鏃堕棿 cache: -- Gitblit v1.8.0