本地化修改

This commit is contained in:
Yoga 2018-08-20 09:07:54 +08:00
parent 43b7bfa28d
commit 32bdcd7077
3 changed files with 7 additions and 17 deletions

View File

@ -16,17 +16,7 @@ public class RuoYiApplication
{ {
public static void main(String[] args) 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); SpringApplication.run(RuoYiApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
" .-------. ____ __ \n" +
" | _ _ \\ \\ \\ / / \n" +
" | ( ' ) | \\ _. / ' \n" +
" |(_ o _) / _( )_ .' \n" +
" | (_,_).' __ ___(_ o _)' \n" +
" | |\\ \\ | || |(_,_)' \n" +
" | | \\ `' /| `-' / \n" +
" | | \\ / \\ / \n" +
" ''-' `'-' `-..-' ");
} }
} }

View File

@ -7,7 +7,7 @@ spring:
master: #主库 master: #主库
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true
username: root username: root
password: password password: root
#slave: #从库 #slave: #从库
# open: true # open: true
# url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true # url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true

View File

@ -1,13 +1,13 @@
# 项目相关配置 # 项目相关配置
ruoyi: ruoyi:
#名称 #名称
name: RuoYi name: EducationOA
#版本 #版本
version: 2.3.0 version: 2.3.0
#版权年份 #版权年份
copyrightYear: 2018 copyrightYear: 2018
#头像上传路径 #头像上传路径
profile: D:/profile/ profile: E:/IDEA-WorkSpace/徐汇区教育局信用平台
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
#开发环境配置 #开发环境配置
@ -34,7 +34,7 @@ logging:
user: user:
password: password:
#密码错误{maxRetryCount}次锁定10分钟 #密码错误{maxRetryCount}次锁定10分钟
maxRetryCount: 5 maxRetryCount: 50
#Spring配置 #Spring配置
spring: spring:
thymeleaf: thymeleaf:
@ -83,7 +83,7 @@ shiro:
# 首页地址 # 首页地址
indexUrl: /index indexUrl: /index
# 验证码开关 # 验证码开关
captchaEnabled: true captchaEnabled: false
# 验证码类型 math 数组计算 char 字符 # 验证码类型 math 数组计算 char 字符
captchaType: math captchaType: math
cookie: cookie:
@ -113,7 +113,7 @@ xss:
# 代码生成 # 代码生成
gen: gen:
# 作者 # 作者
author: ruoyi author: EducationOA
# 默认生成包路径 module 需改成自己的模块名称 如 system monitor tool # 默认生成包路径 module 需改成自己的模块名称 如 system monitor tool
packageName: com.ruoyi.project.module packageName: com.ruoyi.project.module
# 自动去除表前缀默认是true # 自动去除表前缀默认是true