添加跳转路径

This commit is contained in:
huangzj
2023-11-01 11:23:40 +08:00
parent 75a5261757
commit f4bcde61d0

View File

@@ -221,6 +221,7 @@ public class SendEventUtils {
connection.setDoOutput(true);
// 将JSON数据写入输出流
OutputStream outputStream = connection.getOutputStream();
log.info(new Gson().toJson(noticeUserDto));
outputStream.write(new Gson().toJson(noticeUserDto).getBytes(StandardCharsets.UTF_8));
outputStream.flush();
outputStream.close();
@@ -283,4 +284,5 @@ public class SendEventUtils {
return "";
}
}