From 2f737df6f8e482540a465445bdb003d98103db54 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期一, 12 四月 2021 23:41:17 +0800 Subject: [PATCH] 第二次无注释的源码 --- src/main/resources/application-sand.yml | 40 +++++++++++++++++++++++++++++++--------- 1 files changed, 31 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application-sand.yml b/src/main/resources/application-sand.yml index cdac1ce..debb31a 100644 --- a/src/main/resources/application-sand.yml +++ b/src/main/resources/application-sand.yml @@ -1,35 +1,56 @@ +# 椤圭洰鐩稿叧閰嶇疆 ots: + # 鍚嶇О name: ots + # 鐗堟湰 version: 1.0.5 + # 鐗堟潈骞翠唤 copyrightYear: 2020 + # 瀹炰緥婕旂ず寮�鍏� demoEnabled: false + # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ots/uploadPath锛孡inux閰嶇疆 /home/data/ots/uploadPath锛� profile: /home/data/ots/uploadPath + # 鍥剧墖鐨剈rl锛屽:vue绔http://139.199.11.114/images鍦板潃 imagePath: http://120.24.39.179:8090/profile/images + # 鑾峰彇ip鍦板潃寮�鍏� addressEnabled: true + # 鎶ュ憡妯$増鍦板潃 reportTemplates: /home/data/ots/reportTemplates/ + # http profile httpProfilePath: http://120.24.39.179:8090/profile - +# 鏁版嵁婧愰厤缃� spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.cj.jdbc.Driver druid: + # 涓诲簱鏁版嵁婧� master: - url: jdbc:mysql://120.24.39.179:3306/ots-sand?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://127.0.0.1:3306/ots-sand?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root password: TAI@2019#Zjun + # 浠庡簱鏁版嵁婧� slave: + # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴 enabled: false url: username: - password: + password: + # 鍒濆杩炴帴鏁� initialSize: 5 + # 鏈�灏忚繛鎺ユ睜鏁伴噺 minIdle: 10 + # 鏈�澶ц繛鎺ユ睜鏁伴噺 maxActive: 20 + # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� maxWait: 60000 + # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 timeBetweenEvictionRunsMillis: 60000 + # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 minEvictableIdleTimeMillis: 300000 + # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�澶х敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 maxEvictableIdleTimeMillis: 900000 + # 閰嶇疆妫�娴嬭繛鎺ユ槸鍚︽湁鏁� validationQuery: SELECT 1 FROM DUAL testWhileIdle: true testOnBorrow: false @@ -38,29 +59,30 @@ enabled: true statViewServlet: enabled: true + # 璁剧疆鐧藉悕鍗曪紝涓嶅~鍒欏厑璁告墍鏈夎闂� allow: url-pattern: /druid/* + # 鎺у埗鍙扮鐞嗙敤鎴峰悕鍜屽瘑鐮� login-username: login-password: filter: stat: enabled: true + # 鎱QL璁板綍 log-slow-sql: true slow-sql-millis: 1000 merge-sql: true wall: config: multi-statement-allow: true - +# 閭欢鏈嶅姟 mail: +# VUE绔闂湴鍧� vue: url: http://120.24.39.179/exam-stu/#/ots/{0}/login +# 杩滅▼娉板浗璁$畻鏈嶅姟 ATSTai: host: 127.0.0.1 - port: 9123 -jasypt: - encryptor: - password: 5ciqxnka5s02w9qu - algorithm: PBEWithMD5AndDES \ No newline at end of file + port: 9123 \ No newline at end of file -- Gitblit v1.9.1