ariesy 解决邮箱 相关bug v2

release
yefei 2 years ago
parent 35bbb8056c
commit 2b2925a205
  1. 4
      dxhy-core/src/main/java/com/dxhy/core/config/WebConfiguration.java
  2. 3
      dxhy-core/src/main/java/com/dxhy/core/controller/mailGather/EmailMaintainController.java

@ -65,9 +65,9 @@ public class WebConfiguration implements WebMvcConfigurer {
private ArrayList<String> getIncludePathPatterns() {
ArrayList<String> list = new ArrayList<>();
String[] urls =
{"/mailGatherLog/**","/excel/apply","/excel/applyForSDNY", "/ftp/download", "/scan/get/scaninfo", "/setPwd", "/resetPwd", "/invoiceDetail/info",
{"/mailGatherLog/**","/excel/apply","/emailMaintain/**","/excel/applyForSDNY", "/ftp/download", "/scan/get/scaninfo", "/setPwd", "/resetPwd", "/invoiceDetail/info",
"/invoiceDetail/saleInfo", "/smcy/info", "/invoiceDetail/companyPoolInvoiceDetail/**", "/pool/**"};
// ,"/emailMaintain/**"
Collections.addAll(list, urls);
return list;
}

@ -234,8 +234,7 @@ public class EmailMaintainController extends AbstractController {
String encode = Base64Encoding.encode(password);
maintainVo.setEmailPassword(encode);
maintainVo.setDelStatus("0");
maintainVo.setCreateUser("yf");
// maintainVo.setCreateUser(getUserInfo().getLoginname());
maintainVo.setCreateUser(getUserInfo().getLoginname());
maintainVo.setCreateTime(new Date());
maintainVo.setModifyTime(new Date());
mailList.add(maintainVo);

Loading…
Cancel
Save