f30160c886921cb87e22f0473e819abf80c46d7c
手机端开发
Termux 编译运行命令 bash bash/start_winboll_in_termux.sh
测试命令 http://localhost:8080/authcenter/ping
服务器端配置
服务器编译命令 bash bash/build_class.sh
网站运行环境配置命令 java -cp "runtime:libs/*" Main
应用程序通过 ./config/config.ini 文件配置应用运行参数,日志级别与日志路径。 应用程序配置文件兜底路径为 /sdcard/WinBoLLStudio/AuthCenterConsoleApp/config/config.ini 。
公网访问接口 https://console.winboll.cc/authcenter/ping
编译Jar文件
bash bash/build_jar.sh
运行jar文件
java -Djava.library.path=./libs -cp "jar/AuthCenter.jar:libs/*" Main
程序内使用技巧
// 1. 服务启动时发送通知 AdminUtils.getInstance().sendServiceStartNotify();
// 2. 服务关闭时发送通知 AdminUtils.getInstance().sendServiceStopNotify();
// 3. 发送临时通知(例如配置变更提醒) AdminUtils.getInstance().sendTemporaryNotify( "【AuthCenter 临时通知】配置已更新", "系统于2026-01-22 15:00 更新了邮件服务器地址,请留意后续通知是否正常。" );
Description
Languages
Java
93.6%
Shell
6.2%
Dockerfile
0.2%