@SpringBootApplication @ServletComponentScan @EnableCommonBoot public class JpomServerApplication extends Object implements cn.jiangzeyin.common.spring.event.ApplicationEventLoad
Constructor and Description |
---|
JpomServerApplication() |
Modifier and Type | Method and Description |
---|---|
void |
applicationLoad() |
static void |
main(String[] args)
启动执行
|
public static void main(String[] args) throws Exception
--rest:ip_config 重置 IP 白名单配置
--rest:load_init_db 重新加载数据库初始化操作
--rest:super_user_pwd 重置超级管理员密码
--recover:h2db 当 h2 数据出现奔溃无法启动需要执行恢复逻辑
--close:super_user_mfa 关闭超级管理员 mfa
--backup-h2 备份数据库
--import-h2-sql=/xxxx.sql 导入指定文件 sql
--replace-import-h2-sql=/xxxx.sql 替换导入指定文件 sql(会删除掉已经存的数据)
--transform-sql 转换 sql 内容(低版本兼容高版本),仅在导入 sql 文件时候生效:--import-h2-sql=/xxxx.sql、--replace-import-h2-sql=/xxxx.sql
args
- 参数Exception
- 异常public void applicationLoad()
applicationLoad
in interface cn.jiangzeyin.common.spring.event.ApplicationEventLoad
Copyright © 2017–2022. All rights reserved.