wangning 7 years ago
parent 57b3a77fbd
commit 4dd95c3cf5

@ -157,6 +157,7 @@ import java.util.stream.Collectors;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.imageio.ImageIO;
import javax.servlet.ServletOutputStream;
@ -286,6 +287,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
@Resource
private MpWechatApiProvider mpWechatApiProvider;
@PostConstruct
public void init(){
tags.add("account");
}
@Override
public JSONObject getSysRateConfig() {
String rateConfig = sysConfigManager.getSysConfig().getString("sys_rates");
@ -819,7 +825,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
@Override
public void run() {
try {
tags.add("account");
SendMail sendMail = new SendMail();
Set<String> to = new HashSet<>();
to.add(mailTo);

@ -45,9 +45,6 @@ public class MailGunServiceImpl implements MailGunService {
@Resource
private AttachmentClient attachmentClient;
private static final List<String> tags = new ArrayList<>();
@Override
public void dealNotify(String nofityString) throws Exception {
String dd = URLDecoder.decode(nofityString, "UTF-8");
@ -123,6 +120,7 @@ public class MailGunServiceImpl implements MailGunService {
@Override
public JSONObject sendEmail(String notice_id, String title, Set<String> mailTo, String content) throws URISyntaxException, IOException {
List<String> tags = new ArrayList<>();
tags.add("notice");
Document doc = Jsoup.parse(content);
Elements links = doc.select("a[href]");

Loading…
Cancel
Save