mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	补充技术文档
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -37,13 +37,15 @@ | |||||||
| 6. 在线构建器:拖动表单元素生成相应的HTML代码。 | 6. 在线构建器:拖动表单元素生成相应的HTML代码。 | ||||||
| 7. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 | 7. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| ## 在线体验 | ## 在线体验 | ||||||
|  |  | ||||||
| - admin/admin123   |  | ||||||
|  |  | ||||||
| 演示地址:<http://dashboard.yudao.iocoder.cn> | 演示地址:<http://dashboard.yudao.iocoder.cn> | ||||||
|  | * 账号密码:admin/admin123   | ||||||
|  |  | ||||||
|  | 文档地址:<http://www.iocoder.cn/categories/Yudao/> | ||||||
|  | * [《如何搭建环境》](http://www.iocoder.cn/categories/Yudao/?yudao) | ||||||
|  |  | ||||||
|  | > 未来会补充文档和视频,方便胖友冲冲冲! | ||||||
|  |  | ||||||
| ## 演示图 | ## 演示图 | ||||||
|  |  | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							| @@ -6,10 +6,10 @@ | |||||||
|  |  | ||||||
| <script> | <script> | ||||||
| export default { | export default { | ||||||
|   name: 'RuoYiDoc', |   name: 'YudaoDoc', | ||||||
|   data() { |   data() { | ||||||
|     return { |     return { | ||||||
|       url: 'http://doc.ruoyi.vip/ruoyi-vue' |       url: 'http://www.iocoder.cn/Yudao/build-debugger-environment/?yudao' | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|   | |||||||
| @@ -8,11 +8,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; | |||||||
| @EnableAdminServer // TODO 芋艿:需要迁移出去 | @EnableAdminServer // TODO 芋艿:需要迁移出去 | ||||||
| public class DashboardApplication { | public class DashboardApplication { | ||||||
|  |  | ||||||
| //    static { |  | ||||||
| //        // 设置读取的配置文件 |  | ||||||
| //        System.setProperty("spring.config.name", "application,db"); |  | ||||||
| //    } |  | ||||||
|  |  | ||||||
|     public static void main(String[] args) { |     public static void main(String[] args) { | ||||||
|         SpringApplication.run(DashboardApplication.class, args); |         SpringApplication.run(DashboardApplication.class, args); | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -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); |  | ||||||
|     } |  | ||||||
|  |  | ||||||
| } |  | ||||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV