chore(bpm): 更新门户待办模块作者信息并优化HTTP响应处理
- 将多个类中的@author标记从shelly更新为yangchenjj - 在PortalRequest类中引入HttpResponse并使用try-with-resources优化HTTP请求执行 - 确保所有HTTP请求的响应体正确解析并返回PortalTodoResponseDTO对象 - 修复潜在的资源泄漏问题,提升代码健壮性
This commit is contained in:
@@ -7,7 +7,7 @@ import com.xingyuv.jushauth.request.AuthDefaultRequest;
|
||||
/**
|
||||
* 中国星网办公网认证源
|
||||
* <p>
|
||||
* author: shelly chan
|
||||
* author: yangchenjj
|
||||
* date: 2025/09/19
|
||||
*/
|
||||
public enum ChinaSatelliteAuthSource implements AuthSource {
|
||||
|
||||
@@ -393,7 +393,7 @@ public class AdminUserServiceImpl implements IAdminUserService {
|
||||
List<Long> userIds = userDeptMapper.selectList(depWrapper).stream().map(t -> t.getUserId()).collect(Collectors.toList());
|
||||
if (CollectionUtil.isEmpty(userIds)) {
|
||||
// 如果查不到数据,返回一个空结果集,避免NPE
|
||||
// modify by shelly on 2025-10-16
|
||||
// modify by yangchenjj on 2025-10-16
|
||||
return new PageResult<>(Collections.emptyList(), 0L);
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import java.security.cert.X509Certificate;
|
||||
|
||||
/**
|
||||
* Description: SSH工具类
|
||||
* Author: Shelly Chan
|
||||
* Author: yangchenjj
|
||||
* Date: 2023/1/31 10:05
|
||||
*/
|
||||
public class SshUtils {
|
||||
|
||||
Reference in New Issue
Block a user