From 32bdcd70770cac7a8a6bfe4e10df9e1f9c7e4afe Mon Sep 17 00:00:00 2001 From: Yoga <522676621@qq.com> Date: Mon, 20 Aug 2018 09:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E5=8C=96=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ruoyi/RuoYiApplication.java | 12 +----------- src/main/resources/application-druid.yml | 2 +- src/main/resources/application.yml | 10 +++++----- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/ruoyi/RuoYiApplication.java b/src/main/java/com/ruoyi/RuoYiApplication.java index 90bf03143..94317968c 100644 --- a/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/src/main/java/com/ruoyi/RuoYiApplication.java @@ -16,17 +16,7 @@ public class RuoYiApplication { public static void main(String[] args) { - // System.setProperty("spring.devtools.restart.enabled", "false"); + System.setProperty("spring.devtools.restart.enabled", "false"); SpringApplication.run(RuoYiApplication.class, args); - System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" + - " .-------. ____ __ \n" + - " | _ _ \\ \\ \\ / / \n" + - " | ( ' ) | \\ _. / ' \n" + - " |(_ o _) / _( )_ .' \n" + - " | (_,_).' __ ___(_ o _)' \n" + - " | |\\ \\ | || |(_,_)' \n" + - " | | \\ `' /| `-' / \n" + - " | | \\ / \\ / \n" + - " ''-' `'-' `-..-' "); } } \ No newline at end of file diff --git a/src/main/resources/application-druid.yml b/src/main/resources/application-druid.yml index f5dda0f4f..4a796f195 100644 --- a/src/main/resources/application-druid.yml +++ b/src/main/resources/application-druid.yml @@ -7,7 +7,7 @@ spring: master: #主库 url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true username: root - password: password + password: root #slave: #从库 # open: true # url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a1c0715af..0975fd7f8 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,13 +1,13 @@ # 项目相关配置 ruoyi: #名称 - name: RuoYi + name: EducationOA #版本 version: 2.3.0 #版权年份 copyrightYear: 2018 #头像上传路径 - profile: D:/profile/ + profile: E:/IDEA-WorkSpace/徐汇区教育局信用平台 # 获取ip地址开关 addressEnabled: false #开发环境配置 @@ -34,7 +34,7 @@ logging: user: password: #密码错误{maxRetryCount}次锁定10分钟 - maxRetryCount: 5 + maxRetryCount: 50 #Spring配置 spring: thymeleaf: @@ -83,7 +83,7 @@ shiro: # 首页地址 indexUrl: /index # 验证码开关 - captchaEnabled: true + captchaEnabled: false # 验证码类型 math 数组计算 char 字符 captchaType: math cookie: @@ -113,7 +113,7 @@ xss: # 代码生成 gen: # 作者 - author: ruoyi + author: EducationOA # 默认生成包路径 module 需改成自己的模块名称 如 system monitor tool packageName: com.ruoyi.project.module # 自动去除表前缀,默认是true