Commit 1ee01144 by hy

.

parent cfa63cd5
......@@ -36,12 +36,12 @@ public class LicenseInstallationServlet extends HttpServlet {
this.licenseManager.install(dest.toString());
resp.setStatus(HttpStatus.OK.value());
resp.setContentType("text/plain;charset=UTF-8");
resp.getWriter().write("安装成功");
resp.getWriter().write("200");
}
catch (Exception e) {
resp.setStatus(HttpStatus.BAD_REQUEST.value());
resp.setContentType("text/plain;charset=UTF-8");
resp.getWriter().write("安装失败");
resp.getWriter().write("400");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment