更新开始时间3

This commit is contained in:
xuelijun
2026-01-23 17:49:47 +08:00
parent 64ba2b1ead
commit 5eac38c0c1
4 changed files with 8 additions and 1 deletions

BIN
bocai.db

Binary file not shown.

View File

@@ -44,6 +44,10 @@ public class LoginInfoResult {
@Column(name = "on_off") @Column(name = "on_off")
private Integer onOff; private Integer onOff;
//金额
@Column(name = "amount")
private Integer amount;
//登录cookie //登录cookie
@Column(name = "cookie") @Column(name = "cookie")
private String cookie; private String cookie;

View File

@@ -181,6 +181,9 @@ public class LoginServiceImpl implements LoginService {
if (loginInfoResult.getLoseNum() != null) { if (loginInfoResult.getLoseNum() != null) {
dbUser.setLoseNum(loginInfoResult.getLoseNum()); dbUser.setLoseNum(loginInfoResult.getLoseNum());
} }
if (loginInfoResult.getAmount() != null) {
dbUser.setAmount(loginInfoResult.getAmount());
}
if (loginInfoResult.getOnOff() != null) { if (loginInfoResult.getOnOff() != null) {
dbUser.setOnOff(loginInfoResult.getOnOff()); dbUser.setOnOff(loginInfoResult.getOnOff());
if (loginInfoResult.getOnOff().equals(1)) { if (loginInfoResult.getOnOff().equals(1)) {

View File

@@ -248,7 +248,7 @@ public class LotteryWebMagicCrawler implements PageProcessor {
objectMapper.enable(SerializationFeature.INDENT_OUTPUT); objectMapper.enable(SerializationFeature.INDENT_OUTPUT);
// 定义输出目录 // 定义输出目录
String directoryPath = "output/json"; // 项目根目录下的 output/json 文件夹 String directoryPath = "PyModel/data_test_dir"; // 项目根目录下的 output/json 文件夹
// 使用年月日作为文件名格式result_yyyyMMdd.json // 使用年月日作为文件名格式result_yyyyMMdd.json
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd"); SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");