注释邮箱邮件接口请求数据,使用测试数据
This commit is contained in:
parent
4ad4669421
commit
ec59d0ce95
|
|
@ -44,7 +44,7 @@ public class SysEmailController {
|
|||
String apiUrl = url + "sysEmail/sourceList";
|
||||
Map<String, String> getHeaders = Map.of("Authorization", "");
|
||||
|
||||
String apiResult = HttpClientUtil.doGet(apiUrl, getHeaders, true); // 启用 SSL
|
||||
//String apiResult = HttpClientUtil.doGet(apiUrl, getHeaders, true); // 启用 SSL
|
||||
//region
|
||||
String getResult = "{\n" +
|
||||
" \"success\": true,\n" +
|
||||
|
|
@ -102,7 +102,7 @@ public class SysEmailController {
|
|||
String url = hostProperties.getArmdHost();
|
||||
String apiUrl = url + "sysEmailLog/getRecentEmailDatas" + "?emailId=" + URLEncoder.encode(emailId, "UTF-8");
|
||||
Map<String, String> getHeaders = Map.of("Authorization", "");
|
||||
String apiResult = HttpClientUtil.doGet(apiUrl, getHeaders, true); // 启用 SSL
|
||||
//String apiResult = HttpClientUtil.doGet(apiUrl, getHeaders, true); // 启用 SSL
|
||||
//region 测试数据
|
||||
String resultStr = "{\n" +
|
||||
"\t\"success\": true,\n" +
|
||||
|
|
@ -274,7 +274,7 @@ public class SysEmailController {
|
|||
String fullUrl = apiUrl + "?emailId=" + URLEncoder.encode(emailId, "UTF-8")
|
||||
+ "&startDate=" + startDate.toString() // LocalDate的toString()默认就是yyyy-MM-dd格式
|
||||
+ "&endDate=" + endDate.toString();
|
||||
String apiResult = HttpClientUtil.doGet(fullUrl, getHeaders, true);
|
||||
// String apiResult = HttpClientUtil.doGet(fullUrl, getHeaders, true);
|
||||
//region
|
||||
String DataResult = " {\n" +
|
||||
" \"success\": true,\n" +
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user