日志调整

master
duhui 2021-09-16 11:35:58 +08:00
parent 9e8324412e
commit e7ec4ec9c6
2 changed files with 2 additions and 4 deletions

View File

@ -71,7 +71,7 @@ public class MailDaoImpl implements MailDao {
String[] uid = mail.getUserId().split("#");
String sb = getItemStr(mail);
for (String s : uid) {
LOGGER.info("sendMail uid=>{},reward=>{}", s.trim(), sb);
// LOGGER.info("sendMail uid=>{},reward=>{}", s.trim(), sb);
MailPersonalCache mailPersonalCache = new MailPersonalCache();
mailPersonalCache.setTitle(mail.getMailTitle());
mailPersonalCache.setContent(mail.getMailContent());

View File

@ -126,15 +126,13 @@ public class SHotFixManager {
public static <T> T getJsonFilePathInJsonConf(String fileName, Class<T> fileClass) {
File file = new File(jsonPath + fileName);
if (!file.exists()) {
System.out.println("the {} is not exist" + fileName);
// System.out.println("the {} is not exist" + fileName);
return null;
}
try (InputStream in = new FileInputStream(file);) {
ObjectMapper mapper = new ObjectMapper();
mapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
return mapper.readValue(in, fileClass);
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}