use of com.itrus.portal.db.EmailServer in project portal by ixinportal.
the class EmailServerController method details.
// 显示邮箱配置详细信息
@RequestMapping(produces = "text/html")
public String details(Model uiModel) {
try {
EmailServer emailServer = emailServerService.getEmailServerByExample(new EmailServerExample());
if (emailServer == null) {
return "redirect:/mailconfig?form";
}
uiModel.addAttribute("emailServer", emailServer);
} catch (Exception e) {
e.printStackTrace();
uiModel.addAttribute("errMsg", "解密密码失败");
}
return "mailconfig/details";
}
Aggregations