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 + + + +