diff --git a/README.md b/README.md index 6288574b5..2477de99d 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,15 @@ 6. 在线构建器:拖动表单元素生成相应的HTML代码。 7. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 - - ## 在线体验 -- admin/admin123 - 演示地址: +* 账号密码:admin/admin123 + +文档地址: +* [《如何搭建环境》](http://www.iocoder.cn/categories/Yudao/?yudao) + +> 未来会补充文档和视频,方便胖友冲冲冲! ## 演示图 diff --git a/doc/若依环境使用手册.docx b/doc/若依环境使用手册.docx deleted file mode 100644 index 9e4daef4d..000000000 Binary files a/doc/若依环境使用手册.docx and /dev/null differ diff --git a/ruoyi-ui/src/components/RuoYi/Doc/index.vue b/ruoyi-ui/src/components/RuoYi/Doc/index.vue index 3915c2965..1cba295aa 100644 --- a/ruoyi-ui/src/components/RuoYi/Doc/index.vue +++ b/ruoyi-ui/src/components/RuoYi/Doc/index.vue @@ -6,10 +6,10 @@ \ No newline at end of file + diff --git a/src/main/java/cn/iocoder/dashboard/DashboardApplication.java b/src/main/java/cn/iocoder/dashboard/DashboardApplication.java index f46f4bc3b..a0a95f0ef 100644 --- a/src/main/java/cn/iocoder/dashboard/DashboardApplication.java +++ b/src/main/java/cn/iocoder/dashboard/DashboardApplication.java @@ -8,11 +8,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @EnableAdminServer // TODO 芋艿:需要迁移出去 public class DashboardApplication { -// static { -// // 设置读取的配置文件 -// System.setProperty("spring.config.name", "application,db"); -// } - public static void main(String[] args) { SpringApplication.run(DashboardApplication.class, args); } diff --git a/src/main/java/cn/iocoder/dashboard/util/object/ReflectUtils.java b/src/main/java/cn/iocoder/dashboard/util/object/ReflectUtils.java deleted file mode 100644 index 2f772aed0..000000000 --- a/src/main/java/cn/iocoder/dashboard/util/object/ReflectUtils.java +++ /dev/null @@ -1,31 +0,0 @@ -package cn.iocoder.dashboard.util.object; - -import cn.hutool.core.util.ReflectUtil; - -import java.lang.reflect.Field; -import java.lang.reflect.Modifier; - -/** - * 反射 Util 工具类,解决 {@link cn.hutool.core.util.ReflectUtil} 无法满足的情况 - * - * @author 芋道源码 - */ -public class ReflectUtils { - - public static void setFinalFieldValue(Object obj, String fieldName, Object value) { - // 获得 Field - if (obj == null) { - return; - } - Field field = ReflectUtil.getField(obj.getClass(), fieldName); - if (field == null) { - return; - } - - // 获得该 Field 的 modifiers 属性,为非 final - ReflectUtil.setFieldValue(field, "modifiers", field.getModifiers() & ~Modifier.FINAL); - // 真正,设置值 - ReflectUtil.setFieldValue(obj, field, value); - } - -}