mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-05-10 14:54:57 +00:00
boot3:适合 ServletUtils
This commit is contained in:
@@ -25,4 +25,8 @@ public class ServletUtils {
|
||||
ServletUtil.write(response, content, MediaType.APPLICATION_JSON_UTF8_VALUE);
|
||||
}
|
||||
|
||||
public static void write(HttpServletResponse response, String text, String contentType) {
|
||||
ServletUtil.write(response, text, contentType);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user