mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-29 16:14:16 +08:00
fix header
This commit is contained in:
@@ -36,7 +36,7 @@ public class Register extends HttpServlet {
|
||||
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
|
||||
request.setCharacterEncoding("utf-8");
|
||||
response.setCharacterEncoding("utf-8");
|
||||
response.addHeader("Content-type", "text/json;charset=utf-8");
|
||||
response.addHeader("Content-type", "application/json;charset=utf-8");
|
||||
PrintWriter out = response.getWriter();
|
||||
|
||||
WxSession session = Checker.isAuthorized(request, Command.REGISTER);
|
||||
|
||||
Reference in New Issue
Block a user