From 57af6b575735f50bde65a8227d8f58f53eb9cf14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E5=B0=8F=E9=A9=AC?= Date: Tue, 15 Jul 2025 18:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 38 ++++++++++++++ pom.xml | 70 +++++++++++++++++++++++++ src/main/java/com/lktx/center/Main.java | 12 +++++ src/main/resources/static/index.html | 0 4 files changed, 120 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/com/lktx/center/Main.java create mode 100644 src/main/resources/static/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..17ae94b --- /dev/null +++ b/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + com.lktx.center + app-center + 1.0-SNAPSHOT + + hserver-parent + cn.hserver + 3.7.0 + + + + 17 + 17 + UTF-8 + + + + + + + hserver + cn.hserver + + + + hserver-plugin-web + cn.hserver + + + me.zhyd.oauth + JustAuth + 1.16.7 + + + + org.projectlombok + lombok + 1.18.30 + provided + + + + cn.hutool + hutool-all + 5.8.25 + + + + org.projectlombok + lombok + RELEASE + compile + + + + + + + hserver-plugin-maven + cn.hserver + + + + + \ No newline at end of file diff --git a/src/main/java/com/lktx/center/Main.java b/src/main/java/com/lktx/center/Main.java new file mode 100644 index 0000000..7bfa4ce --- /dev/null +++ b/src/main/java/com/lktx/center/Main.java @@ -0,0 +1,12 @@ +package com.lktx.center; + + +import cn.hserver.HServerApplication; +import cn.hserver.core.ioc.annotation.HServerBoot; + +@HServerBoot +public class Main { + public static void main(String[] args) { + HServerApplication.run(Main.class,8981, args); + } +} \ No newline at end of file diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html new file mode 100644 index 0000000..e69de29