2026-01-18 10:35:41 +08:00
2026-01-17 19:43:20 +08:00
2026-01-17 20:41:22 +08:00
2026-01-17 21:10:31 +08:00
2026-01-16 10:18:45 +08:00
2026-01-18 10:35:41 +08:00
2026-01-17 19:43:20 +08:00
2026-01-14 12:40:38 +08:00
2026-01-17 07:14:41 +08:00
2026-01-17 07:14:41 +08:00
2026-01-17 07:14:41 +08:00
2026-01-17 07:14:41 +08:00
2026-01-17 20:03:37 +08:00
2026-01-17 07:14:41 +08:00

手机端开发

Termux 编译运行命令 bash bash/start_winboll_in_termux.sh

测试命令 http://localhost:8080/authcenter/ping

服务器端配置

服务器编译命令 bash bash/build_class.sh

网站运行环境配置命令 java -cp "runtime:libs/*" cc.winboll.Main -log:SEVERE

公网访问接口 https://console.winboll.cc/authcenter/ping

启动程序时通过参数指定日志级别,支持的级别为  ALL / FINE / INFO / WARNING / SEVERE 示例

仅输出INFO及以上级别日志

java -cp "runtime:libs/*" Main -v -log:INFO

输出所有级别日志(默认)

java -cp "runtime:libs/*" Main -v -log:ALL

仅输出错误日志

java -cp "runtime:libs/*" Main -v -log:SEVERE

编译Jar文件

bash bash/build_jar.sh

运行jar文件

java -Djava.library.path=./libs -cp "jar/AuthCenter.jar:libs/*" Main -v -log:ALL

程序内使用技巧

// 1. 服务启动时发送通知 AdminUtils.getInstance().sendServiceStartNotify();

// 2. 服务关闭时发送通知 AdminUtils.getInstance().sendServiceStopNotify();

// 3. 发送临时通知(例如配置变更提醒) AdminUtils.getInstance().sendTemporaryNotify( "【AuthCenter 临时通知】配置已更新", "系统于2026-01-22 15:00 更新了邮件服务器地址,请留意后续通知是否正常。" );

Description
No description provided
Readme 23 MiB
Languages
Java 93.6%
Shell 6.2%
Dockerfile 0.2%