Files
youpaishidifu 4352a35124
Check Source / check (push) Successful in 4s
Auto Release / build (push) Successful in 2m7s
Simple Test / test (push) Successful in 2s
Test Env / test (push) Successful in 1s
第十一批:修复秒/毫秒时间戳混存导致1970年显示bug
- 根因:register_time/last_login_time/invited_at 两种单位混存——Java
  本地注册写毫秒(System.currentTimeMillis)、PHP同步拉回写秒(time()),
  而所有显示端都按毫秒解释 → 秒值~1.78e9显示为1970-01-21
- DurationParser 新增 toMs() 归一化辅助(<10^12视为秒,×1000,幂等)
- whois/Main /account/GUI多账号/邀请GUI绑定时间/临时密码邮件:读取端统一归一化
- InviteManager.reconcileInviteData:秒级存量invited_at原地×1000迁移,
  回填兜底链register_time/last_login_time先归一化;月度计数与明细比较前归一化
- ChatFilterManager.isNewPlayerUnder1Hour:旧代码无条件×1000,对毫秒行
  算出巨大负elapsed恒判新玩家 → 改用toMs
- AreaProtection/WebManager 领地转让5分钟防秒退检查:同样归一化
- 不动同步层(applyPulledRow保持原值),避免与PHP对账拉锯
2026-10-13 14:55:29 +08:00

66 lines
2.2 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>sdf1</groupId>
<artifactId>Sdf1_login</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<properties>
<java.version>27</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!-- ★ 与测试服/生产服运行时保持一致(Paper 26.x)。
26.x 的命令分发改走 Brigadier:PlayerCommandPreprocessEvent 已
@Deprecated 且不再是拦截入口,未命中的唯一拦截点是
UnknownCommandEvent;聊天事件是 AsyncChatEvent 而非
AsyncPlayerChatEvent。用 1.21.4 编译会因签名不匹配直接编不过。 -->
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>26.2.build.129-stable</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.46.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>Sdf1_login</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<release>25</release>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>