Commit 593e14f3a9d2de553cc2d6ae8510651c0f2e79b3
1 parent
8605cc35
补充技术文档
Showing
5 changed files
with
9 additions
and
43 deletions
README.md
| @@ -37,13 +37,15 @@ | @@ -37,13 +37,15 @@ | ||
| 37 | 6. 在线构建器:拖动表单元素生成相应的HTML代码。 | 37 | 6. 在线构建器:拖动表单元素生成相应的HTML代码。 |
| 38 | 7. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 | 38 | 7. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 |
| 39 | 39 | ||
| 40 | - | ||
| 41 | - | ||
| 42 | ## 在线体验 | 40 | ## 在线体验 |
| 43 | 41 | ||
| 44 | -- admin/admin123 | ||
| 45 | - | ||
| 46 | 演示地址:<http://dashboard.yudao.iocoder.cn> | 42 | 演示地址:<http://dashboard.yudao.iocoder.cn> |
| 43 | +* 账号密码:admin/admin123 | ||
| 44 | + | ||
| 45 | +文档地址:<http://www.iocoder.cn/categories/Yudao/> | ||
| 46 | +* [《如何搭建环境》](http://www.iocoder.cn/categories/Yudao/?yudao) | ||
| 47 | + | ||
| 48 | +> 未来会补充文档和视频,方便胖友冲冲冲! | ||
| 47 | 49 | ||
| 48 | ## 演示图 | 50 | ## 演示图 |
| 49 | 51 |
doc/若依环境使用手册.docx deleted
No preview for this file type
ruoyi-ui/src/components/RuoYi/Doc/index.vue
| @@ -6,10 +6,10 @@ | @@ -6,10 +6,10 @@ | ||
| 6 | 6 | ||
| 7 | <script> | 7 | <script> |
| 8 | export default { | 8 | export default { |
| 9 | - name: 'RuoYiDoc', | 9 | + name: 'YudaoDoc', |
| 10 | data() { | 10 | data() { |
| 11 | return { | 11 | return { |
| 12 | - url: 'http://doc.ruoyi.vip/ruoyi-vue' | 12 | + url: 'http://www.iocoder.cn/Yudao/build-debugger-environment/?yudao' |
| 13 | } | 13 | } |
| 14 | }, | 14 | }, |
| 15 | methods: { | 15 | methods: { |
| @@ -18,4 +18,4 @@ export default { | @@ -18,4 +18,4 @@ export default { | ||
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | -</script> | ||
| 22 | \ No newline at end of file | 21 | \ No newline at end of file |
| 22 | +</script> |
src/main/java/cn/iocoder/dashboard/DashboardApplication.java
| @@ -8,11 +8,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; | @@ -8,11 +8,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 8 | @EnableAdminServer // TODO 芋艿:需要迁移出去 | 8 | @EnableAdminServer // TODO 芋艿:需要迁移出去 |
| 9 | public class DashboardApplication { | 9 | public class DashboardApplication { |
| 10 | 10 | ||
| 11 | -// static { | ||
| 12 | -// // 设置读取的配置文件 | ||
| 13 | -// System.setProperty("spring.config.name", "application,db"); | ||
| 14 | -// } | ||
| 15 | - | ||
| 16 | public static void main(String[] args) { | 11 | public static void main(String[] args) { |
| 17 | SpringApplication.run(DashboardApplication.class, args); | 12 | SpringApplication.run(DashboardApplication.class, args); |
| 18 | } | 13 | } |
src/main/java/cn/iocoder/dashboard/util/object/ReflectUtils.java deleted
| 1 | -package cn.iocoder.dashboard.util.object; | ||
| 2 | - | ||
| 3 | -import cn.hutool.core.util.ReflectUtil; | ||
| 4 | - | ||
| 5 | -import java.lang.reflect.Field; | ||
| 6 | -import java.lang.reflect.Modifier; | ||
| 7 | - | ||
| 8 | -/** | ||
| 9 | - * 反射 Util 工具类,解决 {@link cn.hutool.core.util.ReflectUtil} 无法满足的情况 | ||
| 10 | - * | ||
| 11 | - * @author 芋道源码 | ||
| 12 | - */ | ||
| 13 | -public class ReflectUtils { | ||
| 14 | - | ||
| 15 | - public static void setFinalFieldValue(Object obj, String fieldName, Object value) { | ||
| 16 | - // 获得 Field | ||
| 17 | - if (obj == null) { | ||
| 18 | - return; | ||
| 19 | - } | ||
| 20 | - Field field = ReflectUtil.getField(obj.getClass(), fieldName); | ||
| 21 | - if (field == null) { | ||
| 22 | - return; | ||
| 23 | - } | ||
| 24 | - | ||
| 25 | - // 获得该 Field 的 modifiers 属性,为非 final | ||
| 26 | - ReflectUtil.setFieldValue(field, "modifiers", field.getModifiers() & ~Modifier.FINAL); | ||
| 27 | - // 真正,设置值 | ||
| 28 | - ReflectUtil.setFieldValue(obj, field, value); | ||
| 29 | - } | ||
| 30 | - | ||
| 31 | -} |