소스 검색

发送邮件改为下载链接形式展示

eganwu 11 달 전
부모
커밋
564611ffdb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/custom/restcontroller/webmanage/saletool/sharematerial/EquipmentResourceLibrary.java

+ 2 - 1
src/custom/restcontroller/webmanage/saletool/sharematerial/EquipmentResourceLibrary.java

@@ -518,7 +518,8 @@ public class EquipmentResourceLibrary extends Controller {
         EmailContent emailContent = new EmailContent();
         emailContent.addText(rows.get(0).getString("content"));
         for (Row rowAtt : rowsAtt) {
-            emailContent.addFile(rowAtt.getString("url"));
+            emailContent.addText("下载链接:"+rowAtt.getString("url"));
+            emailContent.addBr();
         }
         Remind remind = new Remind(siteid);
         remind.setTitle(rows.get(0).getString("title"));