[+] 证书终端请求ID

This commit is contained in:
acgist
2023-02-28 08:01:25 +08:00
parent 4f6ae876d7
commit 57c09d3ff2
72 changed files with 874 additions and 501 deletions

View File

@@ -0,0 +1,25 @@
package com.acgist.taoyao.boot.model;
import java.util.Map;
import org.junit.jupiter.api.Test;
import com.acgist.taoyao.boot.utils.JSONUtils;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class MessageTest {
@Test
public void testJSON() {
final Message message = Message.builder()
.code("0000")
.message("acgist")
.body(Map.of("1", "2"))
.build();
final String json = JSONUtils.toJSON(message);
log.info("{}", json);
}
}