彩票助手1.2

This commit is contained in:
lihanqi
2025-08-07 19:53:50 +08:00
parent fed8d868b9
commit c6bb187ae8
3 changed files with 732 additions and 382 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,7 @@ public class PredictResultTask {
* cron表达式秒 分 时 日 月 周 * cron表达式秒 分 时 日 月 周
* 0 0/5 * * * ? 表示每5分钟执行一次 * 0 0/5 * * * ? 表示每5分钟执行一次
*/ */
@Scheduled(cron = "0 0/1 * * * ?") @Scheduled(cron = "0 0/10 * * * ?")
public void processPendingPredictions() { public void processPendingPredictions() {
try { try {
log.info("=== 开始执行预测结果匹配定时任务 ==="); log.info("=== 开始执行预测结果匹配定时任务 ===");

View File

@@ -4,8 +4,8 @@ spring:
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/cpzs url: jdbc:mysql://localhost:3306/cpzs
username: cpzs_root username: root
password: cpzs_123456 password: root
# datasource: # datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver # driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://47.117.22.239:3306/cpzs?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false&connectTimeout=10000&socketTimeout=30000 # url: jdbc:mysql://47.117.22.239:3306/cpzs?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false&connectTimeout=10000&socketTimeout=30000
@@ -19,17 +19,17 @@ spring:
# max-lifetime: 1800000 # 连接的最大生命周期(毫秒) # max-lifetime: 1800000 # 连接的最大生命周期(毫秒)
# auto-commit: true # 自动提交 # auto-commit: true # 自动提交
# connection-test-query: SELECT 1 # 测试连接是否可用的查询语句 # connection-test-query: SELECT 1 # 测试连接是否可用的查询语句
# data:
# redis:
# host: localhost
# port: 6379
# database: 0
data: data:
redis: redis:
host: 47.117.22.239 host: localhost
port: 6379 port: 6379
database: 0 database: 0
password: cpzs_123456 # data:
# redis:
# host: 47.117.22.239
# port: 6379
# database: 0
# password: cpzs_123456
server: server:
port: 8123 port: 8123
servlet: servlet: