diff --git a/doc/若依环境使用手册.docx b/doc/若依环境使用手册.docx
index c0edbcc48..fa5b62d7d 100644
--- a/doc/若依环境使用手册.docx
+++ b/doc/若依环境使用手册.docx
@@ -18,8 +18,12 @@
2.2 导入工程
通过Eclipse导入工程,步骤如下:
(1)点击左侧项目区域 -- >Import...
-(2)选择RuoYi
-(3)点击Finish(4)RuoYi的代码就被导出到Eclipse中了,此时可以在工程视图中看到。
+
+(2)选择RuoYi
+
+(3)点击Finish
+
+(4)RuoYi的代码就被导出到Eclipse中了,此时可以在工程视图中看到。
3. 运行若依系统
3.1 必要的配置
@@ -33,18 +37,24 @@
3.1.3 代码生成配置
编辑src/main/ resources目录下的application.yml 文件,
-默认为module,根据实际情况修改即可。生成的表要有注释注:如对模板有特殊需求,可自行修改。编辑src/main/ resources/templates/vm目录下
+默认为module,根据实际情况修改即可。生成的表要有注释
+
+注:如对模板有特殊需求,可自行修改。编辑src/main/ resources/templates/vm目录下
+
3.1.4 日志配置
编辑src/main/ resources目录下的logback.yml 文件
改为自己需要的路径
-
+
3.2 启动及验证
启动RuoYiApplication.java 出现如下图表示启动成功
-打开浏览器,输入:http://localhost:80/若能正确展示登录页面,并能成功登录,登录后菜单及页面展示正常,则表明环境搭建成功。默认密码为 admin/admin123
-演示地址:http://www.ruoyi.club
+打开浏览器,输入:http://localhost:80/
+若能正确展示登录页面,并能成功登录,登录后菜单及页面展示正常,则表明环境搭建成功。
+默认密码为 admin/admin123
+
+演示地址:http://ruoyi.vip
@@ -69,6 +79,7 @@
4.1.4 启动及验证
运行startup.bat 出现如下图即部署成功
+
4.2 Jar方式部署
执行命令:java - jar RuoYi.jar
脚本执行:ry.sh start 启动stop 停止
diff --git a/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html b/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html
index ddb8f3748..4c762ad84 100644
--- a/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html
+++ b/ruoyi-admin/src/main/resources/templates/system/user/profile/profile.html
@@ -16,7 +16,7 @@
-
![]()
+
![]()
修改头像
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java
index 2022489ff..51174f1ea 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java
@@ -301,7 +301,6 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
sb.append(Character.toLowerCase(c));
}
-
return sb.toString();
}
@@ -364,7 +363,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
/**
- * 驼峰式命名法 例如:user_name->userName
+ * 驼峰式命名法
+ * 例如:user_name->userName
*/
public static String toCamelCase(String s)
{
@@ -372,6 +372,10 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
{
return null;
}
+ if (s.indexOf(SEPARATOR) == -1)
+ {
+ return s;
+ }
s = s.toLowerCase();
StringBuilder sb = new StringBuilder(s.length());
boolean upperCase = false;
@@ -401,4 +405,4 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
{
return (T) obj;
}
-}
\ No newline at end of file
+}