From 7b761b0912bd75a0fd80aec21e6720443949037e Mon Sep 17 00:00:00 2001 From: NaJimmm Date: Mon, 14 Sep 2020 15:43:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E5=85=AC=E5=8F=B8=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=B0=B1=E5=8F=AA=E6=9C=89=E9=BB=84=E6=99=93=E5=92=8C=E6=88=91?= =?UTF-8?q?=E4=BC=9A=E7=8E=A9=E7=9A=84=E6=9C=8D=E5=8A=A1=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 + pom.xml | 45 +++++ .../chinaweal/testproject/TestProject.java | 11 ++ src/main/resources/spring/spring-context.xml | 35 ++++ src/main/resources/spring/spring-mvc.xml | 125 +++++++++++++ src/main/resources/spring/spring-mybatis.xml | 172 ++++++++++++++++++ src/main/resources/spring/spring-shiro.xml | 80 ++++++++ 7 files changed, 472 insertions(+) create mode 100644 pom.xml create mode 100644 src/main/java/com/chinaweal/testproject/TestProject.java create mode 100644 src/main/resources/spring/spring-context.xml create mode 100644 src/main/resources/spring/spring-mvc.xml create mode 100644 src/main/resources/spring/spring-mybatis.xml create mode 100644 src/main/resources/spring/spring-shiro.xml diff --git a/README.md b/README.md index a042389..56ff784 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ hello world! + + + +hello 黄晓 \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..5da45bf --- /dev/null +++ b/pom.xml @@ -0,0 +1,45 @@ + + + 4.0.0 + + com.chinaweal.test + test-server + 1.0.0-SNAPSHOT + war + + TEST-SERVER + 全公司可能就只有黄晓和我会玩的服务端 + http://www.chinaweal.com.cn + + + + + + + + com.chinaweal.youfool + youfool-framework + 1.0.3-SNAPSHOT + + + junit + junit + 4.12 + test + + + + com.chinaweal + chinaweal-publibv2 + 2.0.2-SNAPSHOT + + + com.chinaweal + memcached + 1.0-SNAPSHOT + + + + diff --git a/src/main/java/com/chinaweal/testproject/TestProject.java b/src/main/java/com/chinaweal/testproject/TestProject.java new file mode 100644 index 0000000..b9f90ac --- /dev/null +++ b/src/main/java/com/chinaweal/testproject/TestProject.java @@ -0,0 +1,11 @@ +package com.chinaweal.testproject; + +/** + * Created by NaJim on 2020/9/14 + */ +public class TestProject { + + public static void main(String[] args) { + System.out.println("全公司可能就只有黄晓和我会玩的服务端"); + } +} diff --git a/src/main/resources/spring/spring-context.xml b/src/main/resources/spring/spring-context.xml new file mode 100644 index 0000000..c80b6b0 --- /dev/null +++ b/src/main/resources/spring/spring-context.xml @@ -0,0 +1,35 @@ + + + Spring Configuration + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/spring/spring-mvc.xml b/src/main/resources/spring/spring-mvc.xml new file mode 100644 index 0000000..6d5d647 --- /dev/null +++ b/src/main/resources/spring/spring-mvc.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/plain;charset=UTF-8 + application/json;charset=UTF-8 + + + + + + + + application/json;charset=UTF-8 + application/xml;charset=UTF-8 + text/html;charset=UTF-8 + text/plain;charset=UTF-8 + text/xml;charset=UTF-8 + text/javascript;charset=UTF-8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/spring/spring-mybatis.xml b/src/main/resources/spring/spring-mybatis.xml new file mode 100644 index 0000000..e8a7492 --- /dev/null +++ b/src/main/resources/spring/spring-mybatis.xml @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + com.chinaweal..*service.* + com.chinaweal..*dao.* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/spring/spring-shiro.xml b/src/main/resources/spring/spring-shiro.xml new file mode 100644 index 0000000..5b5a1cb --- /dev/null +++ b/src/main/resources/spring/spring-shiro.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /doc.html = anon + /druid/** = anon + /webjars/** = anon + /swagger-resources/** = anon + + /authc/acquireToken = anon + /v2/**=anon + /static/** = anon + / = anon + /console = anon + /login/** = anon + /rest/** = rest + /** = anon + + + +