Commit Graph

313 Commits (84d6f1587dfa1437671e8b89d576ed2eb1b9634f)

Author SHA1 Message Date
rebeyond1218 84d6f1587d 股票管理 2023-02-17 10:41:42 +08:00
Zheng Jie 5cfa96e127 update domain 2022-08-02 13:48:48 +08:00
kdjj2006 40177c6c8d
获取验证码逻辑,无需加锁,不涉及线程安全问题,提高效率 (#755) 2022-07-12 21:15:41 +08:00
Zheng Jie 255a3254ce [代码完善](master): 代码优化
close https://github.com/elunez/eladmin/issues/752
2022-07-04 11:44:54 +08:00
xiaoyong 64a3ff7b26
Issues635 (#751)
* issues/635

* issues/635

Co-authored-by: asdc <asdc>
2022-07-03 22:25:49 +08:00
Zheng Jie 20f2c6362e [代码完善](master): 代码优化 2022-06-14 16:32:03 +08:00
Zheng Jie b7b721b13b [代码完善](master): 代码优化 2022-06-12 15:55:15 +08:00
Zheng Jie 2dc528a103 [Bug修复](master): 修复定时任务管理存在SQL注入漏洞问题
由于定时任务未对Bean进行过滤,导致攻击者可以从SpringContextHolder获得控制jdbcTemplate类,并使用getDeclaredMethod调用jdbcTemplate的queryForMap函数,从而执行任意sql命令。

修复后定时任务的 Bean 需要使用 @Service 注解定义。
2022-06-10 19:56:28 +08:00
Zheng Jie 22c3864dee [新增功能](luoqiz-master): 记录登录日志 2022-06-07 18:21:52 +08:00
Zheng Jie 5959c3fc62 [新增功能](luoqiz-master): Merge branch 'master' of https://github.com/luoqiz/eladmin
升级spring boot版本到2.6.4、升级部分依赖包版本
https://github.com/elunez/eladmin/pull/735
2022-05-31 18:29:17 +08:00
Aborn Jiang 68608b28e3
Column use `` for reserved key (#743)
* fix weird prefixes keys when use RedisUtils.scan

* Column use `` for reserved key

ref: https://stackoverflow.com/questions/2224503/how-to-map-an-entity-field-whose-name-is-a-reserved-word-in-jpa
2022-05-31 17:57:37 +08:00
Zheng Jie d4ae410929 update 2022-05-26 16:53:28 +08:00
Zheng Jie 10a1641298 update 2022-05-26 16:23:30 +08:00
Zheng Jie 78b7d21ddc [新增功能](master): 用户登录缓存改为存储到 Redis 2022-05-26 15:39:59 +08:00
Zheng Jie d78e1decb3 新增 AuthorityDto 类,避免 GrantedAuthority 序列化报错问题 2022-05-24 16:34:47 +08:00
Zheng Jie e37d485b4b update 2022-05-20 13:26:42 +08:00
luoqiangzheng@hz-cpp.com 837f23080b 升级依赖包 2022-03-14 15:05:25 +08:00
Zheng Jie b9aca9366d 启动时可选记录pid 2022-03-07 14:12:58 +08:00
YJRY e06ec08400
[代码优化]枚举值调整为统一大写;枚举的find方法优化 (#730)
Co-authored-by: xuqi <xuqi@zed.com>
2022-03-04 09:52:37 +08:00
TikiWong c9614bd77c 笔误 2022-01-27 14:29:59 +08:00
TikiWong 6941b984be [代码优化] 添加支持配置的可回收用户缓存 2022-01-27 14:18:41 +08:00
Zheng Jie c75b52e15b 代码优化,修改Controller中方法,避免名称重复
命名重复会打印如下日志,不介意的可以不修改:
s.d.s.w.s.ApiListingReferenceScanner: Generating unique operation named
2021-12-26 16:42:56 +08:00
Zheng Jie db1a20a83c 定时任务优化,默认不打印SQL日志 2021-12-24 21:01:49 +08:00
Dawei-Simayi 70a3d7550b
HashMap的容量一定是2的整数幂 (#711) 2021-12-23 15:55:40 +08:00
Zheng Jie 0ebbd66acb 代码优化 2021-12-10 16:18:42 +08:00
Zheng Jie d9d50d3594 代码优化 2021-12-04 14:43:52 +08:00
Zheng Jie b267258776 代码优化 2021-11-23 15:49:05 +08:00
dante 931ecb3ba7
Fix cache by future (#652)
* 利用future回调避免并发调用时有多个线程同时去数据库查询,导致消耗额外资源。经过测试在8个线程并发查询时性能提升

* 修复缓存测试时懒加载报错问题

* 调整格式
2021-11-23 15:33:59 +08:00
Zheng Jie 7b91c4405c 使用 mica-ip2region 解析IP地址信息 2021-11-22 10:40:18 +08:00
Zheng Jie 08f6c58211 close https://github.com/elunez/eladmin/issues/692 2021-11-16 21:15:52 +08:00
Emil-Zhang 38262e06b2
修复手动清除子任务id后导致运行定时任务报错 (#671) 2021-09-01 16:31:31 +08:00
yuyu1025 6c75df558e
Update MenuServiceImpl.java (#656)
防止isQuery为空时自动拆箱出现NullPointerException
2021-07-19 14:21:07 +08:00
Elune 3637ae0240 !24 修复yml配置ddl-auto配置不生效
Merge pull request !24 from 李恒/master
2021-07-19 06:15:58 +00:00
李恒 7ec5b8791b 修复Jpa ddl-auto配置不生效bug 2021-06-12 00:53:26 +08:00
Zheng Jie 48dff86111 [Bug修复](master): update DictServiceImpl.java
close https://github.com/elunez/eladmin/issues/612
2021-06-07 15:41:21 +08:00
Zheng Jie 4b845b748f [Bug修复](master): update ExecutionJob.java
close https://github.com/elunez/eladmin/issues/620
2021-06-07 15:10:09 +08:00
Zheng Jie 10dcf6e11b [Bug修复](master): 头像上传验证图片格式,限制图片大小
close https://github.com/elunez/eladmin/issues/642
2021-06-07 15:05:54 +08:00
Zheng Jie 923142bbb2 [Bug修复](master): 修复部门递归问题
close https://github.com/elunez/eladmin/issues/643
2021-06-07 14:47:33 +08:00
Tsln 19214fd592
更新 JNA 版本,适配 Apple M1 芯片 (#631) 2021-04-27 14:29:13 +08:00
ice_cola 3b802fd770
fix:A custom permission role does not refresh the DataScope cache after adding subdepartments to a department (#608) 2021-03-14 12:46:37 +08:00
Zheng Jie 8c6571f1c8 [代码优化](v2.6):update 2021-03-05 11:58:16 +08:00
Zheng Jie 4e58afd567 Merge branch 'master' of https://github.com/elunez/eladmin 2021-03-05 11:29:44 +08:00
Zheng Jie cd85594e48 [代码优化](v2.6):代码优化 2021-03-05 11:26:08 +08:00
Tsln a49bd6d127
修复算术类型验证码在 Java 15+ 的兼容问题 (#607)
(cherry picked from commit cdbc3a8faaf5958489758608329aa70095b37bb3)
2021-03-04 21:53:37 +08:00
Zheng Jie 01d1aa9721 [代码优化](v2.6):加入第三方系统获取Token的方式
close https://github.com/elunez/eladmin/issues/585
2021-03-03 17:40:22 +08:00
Zheng Jie 88dc69fdfe [代码优化](v2.6):update logback.xml 2021-03-02 21:42:16 +08:00
Zheng Jie d8a458cafa [代码优化](v2.6):update UserController 2021-03-02 21:39:40 +08:00
lWoHvYe 8bb800c68e
Spring Boot版本升级2.2.10,解决in 查询传null时报错。调整Swagger中token设置方式 (#595)
* Spring Boot版本调整为2.2.10。在此前的版本,若in 查询传入null,会报错。相关sql 为in ()。在2.2版本修复了此问题,相关sql改为 in (null)。鉴于此,建议进行升级。

* Spring Boot依赖升级后,Sort的设置方式调整。由 new Sort()改为 Sort.by()

* 调整接口文档Swagger中,token的设置方式,由每个接口单独设置,改为设置统一的token,日常测试更加方便
2021-03-01 19:07:56 +08:00
zhengjie c968eb36ef [代码优化](v2.6):修正配置文件[login-code: height]拼写错误 2021-02-03 09:47:02 +08:00
zhengjie e4e318aa4e [代码优化](v2.6):druid 配置优化 2021-02-01 20:51:16 +08:00