[+]增加国密SM4加解密工具包

This commit is contained in:
maimaishu
2026-01-12 11:05:28 +08:00
parent 674ef07c5a
commit 2489a7f73e
78 changed files with 6284 additions and 17 deletions

View File

@@ -170,6 +170,26 @@
<version>1.78.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.14</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5.14</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@@ -15,7 +15,7 @@ import java.util.List;
import java.util.Map;
@Schema(description = "分页结果")
@Data
@Data //TODO 分页结果参考这个
public final class PageResult<T> implements Serializable {
@Schema(description = "数据", requiredMode = Schema.RequiredMode.REQUIRED)

View File

@@ -246,7 +246,6 @@ public final class CryptoSignatureUtils {
} catch (Exception e) {
log.error("国密加密失败{}",e.getMessage(),e);
System.out.println("加密失败"+e);
return "";
}
}

View File

@@ -11,7 +11,7 @@ import static com.zt.plat.framework.web.core.util.WebFrameworkUtils.HEADER_TENAN
*
* Producer 发送消息时,将 {@link TenantContextHolder} 租户编号,添加到消息的 Header 中
*
* @author ZT
* @author ZT TODO
*/
public class TenantRocketMQSendMessageHook implements SendMessageHook {

View File

@@ -48,7 +48,7 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> {
PageSumSupport.tryAttachSummary(this, queryWrapper, pageResult);
return pageResult;
}
//TODO 分页结果参考这个 ===============================
// MyBatis Plus 查询
IPage<T> mpPage = MyBatisUtils.buildPage(pageParam, sortingFields);
selectPage(mpPage, queryWrapper);