chore(bpm): 更新门户待办模块作者信息并优化HTTP响应处理

- 将多个类中的@author标记从shelly更新为yangchenjj
- 在PortalRequest类中引入HttpResponse并使用try-with-resources优化HTTP请求执行
- 确保所有HTTP请求的响应体正确解析并返回PortalTodoResponseDTO对象
- 修复潜在的资源泄漏问题,提升代码健壮性
This commit is contained in:
2025-12-09 09:32:13 +08:00
parent 21debd7f40
commit d85c2ce315
17 changed files with 45 additions and 26 deletions

View File

@@ -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 {

View File

@@ -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);
}

View File

@@ -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 {