fix json date format

This commit is contained in:
Sola
2015-12-11 18:24:11 +08:00
parent b03c2fabc0
commit 88a564e0fe
4 changed files with 23 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ public class TicketSubmit extends HttpServlet {
s.beginTransaction();
s.save(t);
s.getTransaction().commit();
request.getSession().invalidate();
return new Response(Response.ResponseCode.OK, t);
} catch (NumberFormatException e) {
return new Response(Response.ResponseCode.ILLEGAL_PARAMETER);