Demo entry 6640938

卢广航

   

Submitted by 111 on Sep 14, 2017 at 11:11
Language: Java. Code size: 409 Bytes.

  public ModelAndView doSave(HttpServletRequest request, HttpServletResponse response, EquipClass info)
  {
    try {
      User user = getCurtUser(request);
      this.service.addEquipClass(info);
      this.msg = "新增信息成功!";
      return getModelMapSuccess(this.msg);
    } catch (Exception e) {
      this.msg = "新增信息失败!";

      e.printStackTrace(); }
    return getModelMapError(this.msg);
  }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).