修改部分配置代码

master
bynt 1 year ago
parent 09d0d5ac8f
commit 7848bc9400

@ -105,7 +105,7 @@ public class AESUtils {
} }
public static void main(String[] args) { public static void main(String[] args) {
System.out.println(AESUtils.encrypt("216f7a59d24498e204ef5efd6b383b39", "DA2023xlb213v1.")); System.out.println(AESUtils.encrypt("fdb3606c89cb992a17c2db6de91ef4a2", "DA2023xlb213v1."));
System.out.println(AESUtils.decrypt("Lw1oRu+9EoCb++Fj6OrnyoUbr7QPTkCpe+OwvA9ZdH6DLJMxem509vAHRBtb5Kp1", "DB2023xlb213v1.")); System.out.println(AESUtils.decrypt("Lw1oRu+9EoCb++Fj6OrnyoUbr7QPTkCpe+OwvA9ZdH6DLJMxem509vAHRBtb5Kp1", "DB2023xlb213v1."));
} }
} }

@ -9,7 +9,7 @@ spring:
freemarker: freemarker:
check-template-location: false check-template-location: false
profiles: profiles:
active: dev active: prod
jackson: jackson:
time-zone: GMT+8 time-zone: GMT+8
data: data:

@ -166,6 +166,11 @@ public interface ClueService {
/** /**
* 线 * 线
* @param tagList tag
* @param phoneList
* @param taskId id
* @param userId id
* @param num
*/ */
void saveClue(List<String> tagList, List<String> phoneList, Long taskId, Long userId, Integer num); void saveClue(List<String> tagList, List<String> phoneList, Long taskId, Long userId, Integer num);

@ -1131,7 +1131,7 @@ public class ClueServiceImpl implements ClueService {
if (StringUtils.isNotBlank(phone)) { if (StringUtils.isNotBlank(phone)) {
Boolean checkPhone = MobileUtil.checkPhone(phone); Boolean checkPhone = MobileUtil.checkPhone(phone);
if (Boolean.FALSE.equals(checkPhone)) { if (Boolean.FALSE.equals(checkPhone)) {
log.error("============== the exchange phone as {} =====================", phone); log.info("============== the exchange phone as {} =====================", phone);
continue; continue;
} }
Clue clue = new Clue(); Clue clue = new Clue();

@ -124,13 +124,12 @@ public class MailSourceTask {
(file.listFiles())[DefaultNumberConstants.ZERO_NUMBER]; (file.listFiles())[DefaultNumberConstants.ZERO_NUMBER];
// 解析文件 // 解析文件
CsvData data = reader.read(parseFile); CsvData data = reader.read(parseFile);
CsvRow strings = data.getRows().get(DefaultNumberConstants.ZERO_NUMBER);
String tagStr = strings.get(DefaultNumberConstants.ONE_NUMBER);
// csv通配 // csv通配
data.getRows().forEach(clue -> { data.getRows().forEach(clue -> {
phoneList.add(clue.size() == DefaultNumberConstants.THREE_NUMBER phoneList.add(clue.size() == DefaultNumberConstants.THREE_NUMBER
? clue.get(DefaultNumberConstants.TWO_NUMBER) : clue.get(DefaultNumberConstants.THREE_NUMBER)); ? clue.get(DefaultNumberConstants.TWO_NUMBER) : clue.get(DefaultNumberConstants.THREE_NUMBER));
tagList.add(tagStr); tagList.add(clue.size() == DefaultNumberConstants.THREE_NUMBER
? clue.get(DefaultNumberConstants.ZERO_NUMBER) : clue.get(DefaultNumberConstants.ONE_NUMBER));
}); });
// 去除重复 // 去除重复
List<String> phoneSets = Lists.newArrayList(Sets.newHashSet(phoneList)); List<String> phoneSets = Lists.newArrayList(Sets.newHashSet(phoneList));

@ -82,9 +82,6 @@ public class DecryptPnoUtil {
.form(paramMap) .form(paramMap)
.timeout(2_000) .timeout(2_000)
.execute().body(); .execute().body();
Console.log(result);
// 解析响应内容 // 解析响应内容
return JSONUtil.toBean(result, SecretResponseBean.class); return JSONUtil.toBean(result, SecretResponseBean.class);
} }

Loading…
Cancel
Save