# 手机端开发 Termux 编译运行命令 bash bash/start_winboll_in_termux.sh 测试命令 http://localhost:8080/authcenter/ping 服务介绍 http://localhost:8080/authcenter/login?action= # 服务器端配置 服务器编译命令 按照标签编译: $ bash bash/build_class_by_last_tag_version.sh 普通编译: $ bash bash/build_class.sh 网站运行环境配置命令 java -cp "runtime:libs/*" Main 应用程序通过 ./config/config.ini 文件配置应用运行参数,日志级别与日志路径。 应用程序配置文件兜底路径为 /sdcard/WinBoLLStudio/AuthCenterConsoleApp/config/config.ini 。 Docker环境配置简要 需要挂载config.ini配置文件的apks_folder_path的路径。 [APP] apks_folder_path=/sdcard/WinBoLLStudio/APKs 公网访问接口 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 更新了邮件服务器地址,请留意后续通知是否正常。" ); 邮件类库使用 // Source: https://mvnrepository.com/artifact/javax.activation/activation implementation 'javax.activation:activation:1.1.1' // Source: https://mvnrepository.com/artifact/com.sun.mail/javax.mail implementation 'com.sun.mail:javax.mail:1.4.7' // Source: https://mvnrepository.com/artifact/javax.mail/javax.mail-api implementation 'javax.mail:javax.mail-api:1.4.7' // Source: https://mvnrepository.com/artifact/com.sun.mail/android-mail runtimeOnly 'com.sun.mail:android-mail:1.6.2'