Commit 57424972 by 陶光胜

init

parents
File added
<component name="ArtifactManager">
<artifact type="war" name="work-weixin-web:war">
<output-path>$PROJECT_DIR$/work-weixin-web/target</output-path>
<root id="archive" name="work-weixin-web.war">
<element id="artifact" artifact-name="work-weixin-web:war exploded" />
</root>
</artifact>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
<entry name="!?*.aj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
<profile default="false" name="Annotation profile for haoban-manage-api" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="true" />
<module name="haoban-manage-api" />
</profile>
<profile default="false" name="Annotation profile for haoban-manage-service" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="true" />
<module name="haoban-manage-service" />
</profile>
<profile default="false" name="Annotation profile for haoban-manage-web" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="true" />
<module name="haoban-manage-web" />
</profile>
</annotationProcessing>
<bytecodeTargetLevel>
<module name="haoban-manage" target="1.5" />
<module name="haoban-manage-api" target="1.7" />
<module name="haoban-manage-service" target="1.8" />
<module name="haoban-manage-web" target="1.8" />
<module name="work-weixin" target="1.5" />
<module name="work-weixin-api" target="1.7" />
<module name="work-weixin-service" target="1.8" />
<module name="work-weixin-web" target="1.8" />
</bytecodeTargetLevel>
</component>
</project>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: cn.hutool:hutool-all:4.1.19">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/cn/hutool/hutool-all/4.1.19/hutool-all-4.1.19.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/cn/hutool/hutool-all/4.1.19/hutool-all-4.1.19-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/cn/hutool/hutool-all/4.1.19/hutool-all-4.1.19-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.carrotsearch:java-sizeof:0.0.5">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/carrotsearch/java-sizeof/0.0.5/java-sizeof-0.0.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/carrotsearch/java-sizeof/0.0.5/java-sizeof-0.0.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/carrotsearch/java-sizeof/0.0.5/java-sizeof-0.0.5-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.gic:gic-redis-data:1.0-SNAPSHOT">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/gic-redis-data/1.0-SNAPSHOT/gic-redis-data-1.0-20190919.030146-16.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/gic-redis-data/1.0-SNAPSHOT/gic-redis-data-1.0-20190919.030146-16-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/gic-redis-data/1.0-SNAPSHOT/gic-redis-data-1.0-20190919.030146-16-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.gic:haoban-common:1.0-SNAPSHOT">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/haoban-common/1.0-SNAPSHOT/haoban-common-1.0-20200109.044619-198.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/haoban-common/1.0-SNAPSHOT/haoban-common-1.0-20200109.044619-198-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/haoban-common/1.0-SNAPSHOT/haoban-common-1.0-20200109.044619-198-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.gic:haoban-config:1.0-SNAPSHOT">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/haoban-config/1.0-SNAPSHOT/haoban-config-1.0-20190701.041429-76.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/haoban-config/1.0-SNAPSHOT/haoban-config-1.0-20190701.041429-76-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/gic/haoban-config/1.0-SNAPSHOT/haoban-config-1.0-20190701.041429-76-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.github.jsqlparser:jsqlparser:2.0">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/github/jsqlparser/jsqlparser/2.0/jsqlparser-2.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/github/jsqlparser/jsqlparser/2.0/jsqlparser-2.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/github/jsqlparser/jsqlparser/2.0/jsqlparser-2.0-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.github.pagehelper:pagehelper:5.1.9">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/github/pagehelper/pagehelper/5.1.9/pagehelper-5.1.9.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/github/pagehelper/pagehelper/5.1.9/pagehelper-5.1.9-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/github/pagehelper/pagehelper/5.1.9/pagehelper-5.1.9-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.google.zxing:core:3.3.0">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/google/zxing/core/3.3.0/core-3.3.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/google/zxing/core/3.3.0/core-3.3.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/google/zxing/core/3.3.0/core-3.3.0-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.google.zxing:javase:3.0.0">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/google/zxing/javase/3.0.0/javase-3.0.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/google/zxing/javase/3.0.0/javase-3.0.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/google/zxing/javase/3.0.0/javase-3.0.0-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.googlecode.libphonenumber:libphonenumber:8.10.14">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/googlecode/libphonenumber/libphonenumber/8.10.14/libphonenumber-8.10.14.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/googlecode/libphonenumber/libphonenumber/8.10.14/libphonenumber-8.10.14-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/googlecode/libphonenumber/libphonenumber/8.10.14/libphonenumber-8.10.14-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: com.thoughtworks.paranamer:paranamer:2.8">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/thoughtworks/paranamer/paranamer/2.8/paranamer-2.8.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/thoughtworks/paranamer/paranamer/2.8/paranamer-2.8-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/com/thoughtworks/paranamer/paranamer/2.8/paranamer-2.8-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: commons-beanutils:commons-beanutils:1.9.2">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: log4j:log4j:1.2.16">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/log4j/log4j/1.2.16/log4j-1.2.16-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/log4j/log4j/1.2.16/log4j-1.2.16-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: ma.glasnost.orika:orika-core:1.5.4">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/ma/glasnost/orika/orika-core/1.5.4/orika-core-1.5.4.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/ma/glasnost/orika/orika-core/1.5.4/orika-core-1.5.4-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/ma/glasnost/orika/orika-core/1.5.4/orika-core-1.5.4-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.apache.httpcomponents:httpclient:4.3.5">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.apache.httpcomponents:httpcore:4.3.2">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.codehaus.janino:commons-compiler:3.0.8">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/codehaus/janino/commons-compiler/3.0.8/commons-compiler-3.0.8.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/codehaus/janino/commons-compiler/3.0.8/commons-compiler-3.0.8-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/codehaus/janino/commons-compiler/3.0.8/commons-compiler-3.0.8-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.codehaus.janino:janino:3.0.8">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/codehaus/janino/janino/3.0.8/janino-3.0.8.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/codehaus/janino/janino/3.0.8/janino-3.0.8-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/codehaus/janino/janino/3.0.8/janino-3.0.8-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.mybatis:mybatis:3.4.2">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/mybatis/mybatis/3.4.2/mybatis-3.4.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/mybatis/mybatis/3.4.2/mybatis-3.4.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/mybatis/mybatis/3.4.2/mybatis-3.4.2-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.mybatis:mybatis-spring:1.3.0">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/mybatis/mybatis-spring/1.3.0/mybatis-spring-1.3.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/mybatis/mybatis-spring/1.3.0/mybatis-spring-1.3.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/mybatis/mybatis-spring/1.3.0/mybatis-spring-1.3.0-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.slf4j:slf4j-api:1.7.25">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.springframework.data:spring-data-commons:2.0.1.RELEASE">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-commons/2.0.1.RELEASE/spring-data-commons-2.0.1.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-commons/2.0.1.RELEASE/spring-data-commons-2.0.1.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-commons/2.0.1.RELEASE/spring-data-commons-2.0.1.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.springframework.data:spring-data-keyvalue:2.0.1.RELEASE">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-keyvalue/2.0.1.RELEASE/spring-data-keyvalue-2.0.1.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-keyvalue/2.0.1.RELEASE/spring-data-keyvalue-2.0.1.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-keyvalue/2.0.1.RELEASE/spring-data-keyvalue-2.0.1.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.springframework.data:spring-data-redis:2.0.1.RELEASE">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-redis/2.0.1.RELEASE/spring-data-redis-2.0.1.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-redis/2.0.1.RELEASE/spring-data-redis-2.0.1.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/data/spring-data-redis/2.0.1.RELEASE/spring-data-redis-2.0.1.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="Maven: org.springframework:spring-aspects:4.2.4.RELEASE">
<CLASSES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/spring-aspects/4.2.4.RELEASE/spring-aspects-4.2.4.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/spring-aspects/4.2.4.RELEASE/spring-aspects-4.2.4.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$USER_HOME$/MavenRepository/repository/org/springframework/spring-aspects/4.2.4.RELEASE/spring-aspects-4.2.4.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$/haoban-manage-web" />
<file type="web" url="file://$PROJECT_DIR$/work-weixin-web" />
</component>
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id />
</State>
<State>
<id>AOP</id>
</State>
<State>
<id>Abstraction issuesJava</id>
</State>
<State>
<id>ActionScript specificJavaScript</id>
</State>
<State>
<id>Android</id>
</State>
<State>
<id>Android Lint</id>
</State>
<State>
<id>ArquillianJava</id>
</State>
<State>
<id>Assignment issuesGroovy</id>
</State>
<State>
<id>Assignment issuesJava</id>
</State>
<State>
<id>Assignment issuesJavaScript</id>
</State>
<State>
<id>CDI(Contexts and Dependency Injection) issues</id>
</State>
<State>
<id>CSS</id>
</State>
<State>
<id>Class metricsJava</id>
</State>
<State>
<id>Class structureJava</id>
</State>
<State>
<id>Cloning issuesJava</id>
</State>
<State>
<id>Code maturity issuesJava</id>
</State>
<State>
<id>Code style issuesJava</id>
</State>
<State>
<id>Code style issuesJavaScript</id>
</State>
<State>
<id>CodeSpring CoreSpring</id>
</State>
<State>
<id>CoffeeScript</id>
</State>
<State>
<id>Concurrency annotation issuesJava</id>
</State>
<State>
<id>Control FlowGroovy</id>
</State>
<State>
<id>Control flow issuesJava</id>
</State>
<State>
<id>Control flow issuesJavaScript</id>
</State>
<State>
<id>Data flow issuesJava</id>
</State>
<State>
<id>Data flow issuesJavaScript</id>
</State>
<State>
<id>Declaration redundancyJava</id>
</State>
<State>
<id>DeclarationGroovy</id>
</State>
<State>
<id>Dependency issuesJava</id>
</State>
<State>
<id>Encapsulation issuesJava</id>
</State>
<State>
<id>Error handlingGroovy</id>
</State>
<State>
<id>Error handlingJava</id>
</State>
<State>
<id>Error handlingJavaScript</id>
</State>
<State>
<id>FlexUnit inspections</id>
</State>
<State>
<id>GPath inspectionsGroovy</id>
</State>
<State>
<id>General</id>
</State>
<State>
<id>GeneralJava</id>
</State>
<State>
<id>GeneralJavaScript</id>
</State>
<State>
<id>Google Web Toolkit issues</id>
</State>
<State>
<id>Groovy</id>
</State>
<State>
<id>Guice Inspections</id>
</State>
<State>
<id>HTML</id>
</State>
<State>
<id>Inheritance issuesJava</id>
</State>
<State>
<id>Initialization issuesJava</id>
</State>
<State>
<id>Internationalization issuesJava</id>
</State>
<State>
<id>J2ME issuesJava</id>
</State>
<State>
<id>JSON</id>
</State>
<State>
<id>JSP Inspections</id>
</State>
<State>
<id>JUnit issuesJava</id>
</State>
<State>
<id>Java</id>
</State>
<State>
<id>Java EE issues</id>
</State>
<State>
<id>Java language level issuesJava</id>
</State>
<State>
<id>Java language level migration aidsJava</id>
</State>
<State>
<id>JavaBeans issuesJava</id>
</State>
<State>
<id>JavaScript</id>
</State>
<State>
<id>JavaScript function metricsJavaScript</id>
</State>
<State>
<id>JavaScript validity issuesJavaScript</id>
</State>
<State>
<id>Javadoc issuesJava</id>
</State>
<State>
<id>Kotlin</id>
</State>
<State>
<id>Logging issuesJava</id>
</State>
<State>
<id>Memory issuesJava</id>
</State>
<State>
<id>Method MetricsGroovy</id>
</State>
<State>
<id>Method metricsJava</id>
</State>
<State>
<id>Modularization issuesJava</id>
</State>
<State>
<id>Naming ConventionsGroovy</id>
</State>
<State>
<id>Naming conventionsJava</id>
</State>
<State>
<id>Numeric issuesJava</id>
</State>
<State>
<id>OtherGroovy</id>
</State>
<State>
<id>Packaging issuesJava</id>
</State>
<State>
<id>Pattern Validation</id>
</State>
<State>
<id>Performance issuesJava</id>
</State>
<State>
<id>Plugin DevKit</id>
</State>
<State>
<id>Portability issuesJava</id>
</State>
<State>
<id>Potentially confusing code constructsGroovy</id>
</State>
<State>
<id>Potentially confusing code constructsJavaScript</id>
</State>
<State>
<id>Probable bugsCSS</id>
</State>
<State>
<id>Probable bugsCoffeeScript</id>
</State>
<State>
<id>Probable bugsGroovy</id>
</State>
<State>
<id>Probable bugsJava</id>
</State>
<State>
<id>Probable bugsJavaScript</id>
</State>
<State>
<id>RESTful Web Service</id>
</State>
<State>
<id>Resource management issuesJava</id>
</State>
<State>
<id>SQL</id>
</State>
<State>
<id>Security issuesJava</id>
</State>
<State>
<id>Serialization issuesJava</id>
</State>
<State>
<id>Spring</id>
</State>
<State>
<id>Spring CoreSpring</id>
</State>
<State>
<id>Spring DataSpring</id>
</State>
<State>
<id>Spring MVCSpring</id>
</State>
<State>
<id>TestNGJava</id>
</State>
<State>
<id>Threading issuesGroovy</id>
</State>
<State>
<id>Threading issuesJava</id>
</State>
<State>
<id>Thymeleaf</id>
</State>
<State>
<id>UI Form Problems</id>
</State>
<State>
<id>Visibility issuesJava</id>
</State>
<State>
<id>Web Services</id>
</State>
<State>
<id>WebSocket issues</id>
</State>
<State>
<id>XML</id>
</State>
<State>
<id>XMLSpring CoreSpring</id>
</State>
<State>
<id>XPath</id>
</State>
<State>
<id>toString() issuesJava</id>
</State>
</expanded-state>
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/haoban-manage-api/haoban-manage-api.iml" filepath="$PROJECT_DIR$/haoban-manage-api/haoban-manage-api.iml" />
<module fileurl="file://$PROJECT_DIR$/haoban-manage-service/haoban-manage-service.iml" filepath="$PROJECT_DIR$/haoban-manage-service/haoban-manage-service.iml" />
<module fileurl="file://$PROJECT_DIR$/haoban-manage-web/haoban-manage-web.iml" filepath="$PROJECT_DIR$/haoban-manage-web/haoban-manage-web.iml" />
<module fileurl="file://$PROJECT_DIR$/work-weixin.iml" filepath="$PROJECT_DIR$/work-weixin.iml" />
<module fileurl="file://$PROJECT_DIR$/work-weixin-api/work-weixin-api.iml" filepath="$PROJECT_DIR$/work-weixin-api/work-weixin-api.iml" />
<module fileurl="file://$PROJECT_DIR$/work-weixin-service/work-weixin-service.iml" filepath="$PROJECT_DIR$/work-weixin-service/work-weixin-service.iml" />
<module fileurl="file://$PROJECT_DIR$/work-weixin-web/work-weixin-web.iml" filepath="$PROJECT_DIR$/work-weixin-web/work-weixin-web.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gic</groupId>
<artifactId>work-weixin</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>work-weixin-api</module>
<module>work-weixin-service</module>
<module>work-weixin-web</module>
</modules>
<distributionManagement>
<repository>
<!-- 和 Maven setting 保持一致 -->
<id>nexus-snapshots</id>
<name>nexus distribution snapshot repository</name>
<!-- 这里使用 /content/repositories/snapshots/ -->
<url>http://182.254.134.223:8081/nexus/content/repositories/snapshots/</url>
<!--<url>http://stream.banli.mobi:8081/content/repositories/snapshots/</url>-->
</repository>
<snapshotRepository>
<!-- 和 Maven setting 保持一致 -->
<id>nexus-snapshots</id>
<name>nexus distribution snapshot repository</name>
<!-- 这里使用 /content/repositories/snapshots/ -->
<url>http://182.254.134.223:8081/nexus/content/repositories/Snapshots-1/</url>
<!--<url>http://stream.banli.mobi:8081/content/repositories/snapshots/</url>-->
</snapshotRepository>
</distributionManagement>
<dependencies>
</dependencies>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.gic</groupId>
<artifactId>gic-pom-base</artifactId>
<version>3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>work-weixin-api</artifactId>
<version>${libraryVersion}</version>
<name>work-weixin-api</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<haobanService>1.0-SNAPSHOT</haobanService>
<libraryVersion>1.0-SNAPSHOT</libraryVersion>
</properties>
<distributionManagement>
<repository>
<!-- 和 Maven setting 保持一致 -->
<id>nexus-snapshots</id>
<name>nexus distribution snapshot repository</name>
<!-- 这里使用 /content/repositories/snapshots/ -->
<url>http://182.254.134.223:8081/nexus/content/repositories/snapshots/</url>
<!--<url>http://stream.banli.mobi:8081/content/repositories/snapshots/</url>-->
</repository>
<snapshotRepository>
<!-- 和 Maven setting 保持一致 -->
<id>nexus-snapshots</id>
<name>nexus distribution snapshot repository</name>
<!-- 这里使用 /content/repositories/snapshots/ -->
<url>http://182.254.134.223:8081/nexus/content/repositories/Snapshots-1/</url>
<!--<url>http://stream.banli.mobi:8081/content/repositories/snapshots/</url>-->
</snapshotRepository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>haoban-base-api</artifactId>
<version>${haoban-base-api}</version>
</dependency>
</dependencies>
<build>
<finalName>work-weixin-api</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<!--<version>1.1.0-SNAPSHOT</version>-->
<configuration>
<flattenMode>defaults</flattenMode>
</configuration>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
package com.gic.weixin.api.dto;
/**
* Created by tgs on 2020/2/4.
*/
public class TestDTO {
}
package com.gic.weixin.api.service;
/**
* Created by tgs on 2020/2/4.
*/
public interface TestService {
}
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.11" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: com.gic:haoban-base-api:1.0-SNAPSHOT" level="project" />
<orderEntry type="library" name="Maven: com.alibaba.csp:sentinel-dubbo-adapter:0.1.1" level="project" />
<orderEntry type="library" name="Maven: com.alibaba.csp:sentinel-core:0.1.1" level="project" />
<orderEntry type="library" name="Maven: com.alibaba.csp:sentinel-transport-simple-http:0.1.1" level="project" />
<orderEntry type="library" name="Maven: com.alibaba.csp:sentinel-transport-common:0.1.1" level="project" />
<orderEntry type="library" name="Maven: com.alibaba.csp:sentinel-datasource-extension:0.1.1" level="project" />
<orderEntry type="library" name="Maven: com.gic:gic-base-api:3.0-SNAPSHOT" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:3.2.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:3.2.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.1.41" level="project" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.gic</groupId>
<artifactId>gic-pom-base</artifactId>
<version>3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>work-weixin-service</artifactId>
<version>${libraryVersion}</version>
<name>work-weixin-service</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<haobanService>1.0-SNAPSHOT</haobanService>
<libraryVersion>1.0-SNAPSHOT</libraryVersion>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>4.2.4.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.47</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>work-weixin-api</artifactId>
<version>${haobanService}</version>
</dependency>
<dependency>
<groupId>com.gic </groupId>
<artifactId>gic-redis-data </artifactId>
<version>${gic-redis-data} </version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>haoban-common</artifactId>
<version>${haoban-common}</version>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.1.9</version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>haoban-config</artifactId>
<version>${haoban-config}</version>
</dependency>
</dependencies>
<build>
<finalName>work-weixin-service</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classesDirectory>target/classes/</classesDirectory>
<archive>
<manifest>
<mainClass>com.alibaba.dubbo.container.Main</mainClass>
<!-- 打包时 MANIFEST.MF文件不记录的时间戳版本 -->
<useUniqueVersions>false</useUniqueVersions>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Class-Path>.</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<type>jar</type>
<includeTypes>jar</includeTypes>
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
package com.gic.weixin.service.entity;
import java.io.Serializable;
/**
* Created By MBG-GUI-EXTENSION https://github.com/spawpaw/mybatis-generator-gui-extension
* Description:
*
* @author fdh
*/
public class Test implements Serializable {
/**
*
*/
private String id;
/**
*
*/
private String name;
/**
*/
private static final long serialVersionUID = 1L;
/**
* This method returns the value of the database column test.id
*
* @return the value of test.id
*/
public String getId() {
return id;
}
/**
* This method sets the value of the database column test.id
*
* @param id the value for test.id
*/
public void setId(String id) {
this.id = id;
}
/**
* This method returns the value of the database column test.name
*
* @return the value of test.name
*/
public String getName() {
return name;
}
/**
* This method sets the value of the database column test.name
*
* @param name the value for test.name
*/
public void setName(String name) {
this.name = name;
}
}
\ No newline at end of file
package com.gic.weixin.service.service.impl;
/**
* Created by tgs on 2020/2/4.
*/
public class TestServiceImpl {
}
package com.gic.weixin.service.service.out.impl;
/**
* Created by tgs on 2020/2/4.
*/
public class TestApiServiceImpl {
}
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<import resource="classpath*:redis-init.xml"/>
<import resource="classpath:dubbo-work-weixin-service.xml" />
<import resource="classpath:dubbo-setting-test.xml"/>
<import resource="classpath:jdbc-work-weixin-service.xml" />
</beans>
\ No newline at end of file
dubbo.registry.file=work-weixin
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xmlns:apollo="http://www.ctrip.com/schema/apollo"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd
http://www.ctrip.com/schema/apollo
http://www.ctrip.com/schema/apollo.xsd">
<!--<context:property-placeholder location="classpath:jdbc.properties" ignore-unresolvable="true"/>-->
<apollo:config namespaces="COMMON.dubbo, COMMON.jdbc"/>
<dubbo:monitor protocol="registry"/>
<dubbo:registry address="${zookeeper_host}" protocol="dubbo" id="remoteAddress" timeout="20000"
register="${shall_register:true}"
file="dubbo/remote/${dubbo.registry.file}/dubbo.cache"
default="true"/>
<dubbo:registry address="zookeeper://localhost:2181" protocol="dubbo" id="localAddress" timeout="10000"
file="dubbo/local/${dubbo.registry.file}/dubbo.cache" default="false"/>
<!--<dubbo:registry address="zookeeper://123.207.187.158:2199" protocol="dubbo" id="remoteAddress" timeout="20000" file="${catalina.home}/dubbo/${dubbo.registry.file}/dubbo.cache"/>-->
<dubbo:provider timeout="10000" retries="0" registry="${registry:remoteAddress}" threads="${jdbc.maxsize}"
queues="10000"
dispather="maintenance"/>
<dubbo:consumer timeout="10000" retries="0" check="false" registry="${registry:remoteAddress}"/>
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<context:component-scan base-package="com.gic.weixin.*" />
<!-- 应用名称 -->
<dubbo:application name="work-weixin-service"/>
<dubbo:protocol name="dubbo" port="30007"/>
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:apollo="http://www.ctrip.com/schema/apollo"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.ctrip.com/schema/apollo
http://www.ctrip.com/schema/apollo.xsd">
<context:annotation-config />
<!--<context:component-scan base-package="com.gic.cloud" />-->
<!--<context:property-placeholder location="classpath*:jdbc-haoban.properties" ignore-unresolvable="true" />-->
<!--<bean id="propertyConfigurer"-->
<!--class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">-->
<!--<property name="ignoreUnresolvablePlaceholders" value="true"/>-->
<!--<property name="location" value="classpath:jdbc-haoban.properties" />-->
<!--</bean>-->
<import resource="classpath*:applicationContext-db-only.xml"/>
<import resource="classpath*:applicationContext-db-only.xml"/>
<bean class="org.mybatis.spring.SqlSessionFactoryBean" id="sqlSessionFactory">
<property name="dataSource" ref="dataSource"/>
<property name="typeAliasesPackage" value="com.gic.store.**.entity"/>
<property name="mapperLocations" value="classpath*:mapper/*.xml"/>
<property name="plugins">
<array>
<!-- 自动生成id -->
<bean class="com.gic.commons.plugin.mybatis.AutoIdInterceptor"/>
<!-- 分页插件 -->
<bean class="com.github.pagehelper.PageInterceptor">
<property name="properties">
<value>
helperDialect=mysql
</value>
</property>
</bean>
</array>
</property>
</bean>
<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
<property name="basePackage" value="com.gic.store.**.dao.mapper"/>
<property name="sqlSessionFactoryBeanName" value="sqlSessionFactory"/>
</bean>
<bean class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"/>
</bean>
<!-- 事务管理器 -->
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"/>
</bean>
<tx:annotation-driven transaction-manager="txManager"/>
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.weixin.service.dao.mapper.TestMapper">
<resultMap id="BaseResultMap" type="com.gic.weixin.service.entity.Test">
<id column="id" jdbcType="VARCHAR" property="id"/>
<result column="name" jdbcType="VARCHAR" property="name"/>
</resultMap>
<sql id="Base_Column_List">
id, name
</sql>
<select id="queryList" parameterType="java.lang.String" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from test
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.gic</groupId>
<artifactId>gic-pom-base</artifactId>
<version>3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>work-weixin-web</artifactId>
<version>${libraryVersion}</version>
<packaging>war</packaging>
<name>work-weixin-web</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<haobanService>1.0-SNAPSHOT</haobanService>
<commonVersion>3.0-SNAPSHOT</commonVersion>
<libraryVersion>1.0-SNAPSHOT</libraryVersion>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>4.2.4.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.47</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<version>1.2.1.RELEASE</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>gic-dict-api</artifactId>
<version>${gic-dict-api}</version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>gic-commons</artifactId>
<version>${gic-commons}</version>
<exclusions>
<exclusion>
<artifactId>httpclient</artifactId>
<groupId>org.apache.httpcomponents</groupId>
</exclusion>
<exclusion>
<artifactId>httpcore</artifactId>
<groupId>org.apache.httpcomponents</groupId>
</exclusion>
<exclusion>
<artifactId>spring-beans</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>gic-platform-config</artifactId>
<version>${gic-platform-config}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.jexcelapi</groupId>
<artifactId>jxl</artifactId>
<version>2.6.12</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>work-weixin-api</artifactId>
<version>${haobanService}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>gic-thirdparty-api</artifactId>
<version>${gic-thirdparty-api}</version>
</dependency>
<dependency>
<groupId>com.gic</groupId>
<artifactId>gic-quartz-api</artifactId>
<version>${gic-quartz-api}</version>
</dependency>
<dependency>
<groupId>com.gic </groupId>
<artifactId>gic-redis-data </artifactId>
<version>${gic-redis-data} </version>
</dependency>
</dependencies>
<build>
<finalName>work-weixin-web</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<source>1.8</source>
<target>1.8</target>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<type>jar</type>
<includeTypes>jar</includeTypes>
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.4.12.RC2</version>
<configuration>
<stopKey>gic-mall</stopKey>
<httpConnector>
<port>802</port>
</httpConnector>
<webApp>
<contextPath>/</contextPath>
</webApp>
</configuration>
</plugin>
</plugins>
</build>
</project>
package com.gic.weixin.web.controller;
/**
* Created by tgs on 2020/2/4.
*/
public class TestController {
}
package com.gic.weixin.web.errCode;
/**
* Created by fudh on 2018/3/4.
*/
public enum HaoBanErrCode {
//update by 牧峰 2018-7-25 19:58:06
/**
* 操作失败
*/
ERR_0(0, "操作失败"),
/**
* 操作成功
*/
ERR_1(1, "操作成功"),
/**
* 缺少参数
*/
ERR_2(2, "缺少参数"),
/**
* 系统异常
*/
ERR_3(3, "系统异常"),
/**
* 登录异常
*/
ERR_4(4, "登录异常"),
/**
* 输入参数错误
*/
ERR_5(5, "输入参数错误"),
/**
* 该企业登录用户不存在
*/
ERR_6(6, "该企业登录用户不存在"),
/**
* 该用户缺少该权限
*/
ERR_7(7, "该用户缺少该权限"),
/**
* 查无数据
*/
ERR_8(8, "查无数据"),
/**
* 非法操作
*/
ERR_9(9, "非法操作"),
/**
* 用户已经登录
*/
ERR_10(10, "用户已经登录"),
/**
* 验证码发送失败
*/
ERR_11(11, "验证码发送失败"),
/**
* 验证码校验失败
*/
ERR_12(12, "验证码校验失败"),
/**
* 员工档案模块
*/
ERR_400001(400001, "通讯录中不存在"),
ERR_400002(400002, "企业不存在"),
ERR_400003(400003, "品牌不存在"),
ERR_400004(400004, "excel文件格式有问题"),
ERR_400005(400005, "选择文件错误"),
ERR_400006(400006, "模板内容为空"),
ERR_400007(400007, "总列数与模板不一致"),
ERR_400008(400008, "导入的title跟模板title描述不匹配"),
ERR_400009(400009, "共享企业或取得共享企业已达最大数量"),
ERR_400010(400010, "不是该企业无权限添加"),
ERR_400011(400011, "添加共享企业重复"),
ERR_400012(400012, "员工档案不存在"),
ERR_400013(400013, "没有查看共享通讯录的权限"),
ERR_400014(400014, "仅支持认证企业建立企业通讯录共享"),
ERR_400015(400015, "数据为空"),
ERR_400016(400016, "提交人不存在"),
/**
* 文件不存在
*/
ERR_20001(201, "文件不存在"),
/**
* 文件格式错误
*/
ERR_20002(202, "文件格式错误"),
/**
* 文件读取失败
*/
ERR_20003(203, "文件读取失败"),
/**
* 文件列数错误
*/
ERR_20004(204, "文件列数错误"),
//登录权限
ERR_30001(30001, "请添加权限"),
ERR_30002(30002, "二维码超时,请刷新二维码"),
ERR_30003(30003, "您没有管理员权限"),
ERR_30004(30004, "登录超时,请重新登录"),
ERR_30005(30005, "用户不存在"),
ERR_30006(30006, "用户名或密码错误"),
ERR_30007(30007, "未设置密码,请先设置密码"),
ERR_30008(30008, "超级管理员不存在"),
//角色
ERR_40001(40001, "角色异常"),
ERR_500002(500002, "角色下存在管理员,请移除管理员!"),
/**
* 办理离职
*/
ERR_100001(100001, "办理离职成功"),
ERR_100002(100002, "正在等待审核"),
ERR_100003(100003, "办理转正成功"),
ERR_100004(100004, "已经离职"),
ERR_100005(100005, "已经转正"),
ERR_100006(100006, "店长不能办理离职"),
ERR_100007(100007, "管理员不能办理离职"),
ERR_100008(100008, "与gic关联不能办理离职"),
/**
* 通讯录模块
*/
ERR_111111(111111, "用户已存在"),
ERR_111112(111112, "层级不能超过6"),
ERR_111113(111113, "店铺已存在"),
ERR_111114(111114, "该员工已在行政架构下"),
ERR_111115(1111115, "该员工已在门店架构下"),
ERR_111116(111116, "code不能为空"),
ERR_111117(111117, "code已存在"),
ERR_111118(111118, "部门不能为空"),
ERR_111119(111119, "门店不能为空"),
ERR_111120(111120, "手机不能为空"),
ERR_111121(111121, "姓名不能为空"),
ERR_111122(111122, "门店名称不能为空"),
ERR_111123(111123, "店长名称不能为空"),
ERR_111124(111124, "店长电话不能为空"),
ERR_111125(111125, "门店编号不能为空"),
ERR_111126(111126, "门店编号已存在"),
ERR_111127(111127, "该部门下存在部门不让删除"),
ERR_111128(111128, "该部门下存在店铺不让删除"),
ERR_111129(111129, "该部门下存在人员不让删除"),
ERR_111130(111130, "品牌不能修改"),
ERR_111131(111131, "店长不能删除"),
ERR_111132(111132, "管理员不能删除"),
ERR_111133(111133, "品牌名称不能重复"),
ERR_111134(111134, "未认证企业只能导入30家门店"),
ERR_111135(111135, "未认证企业只能导入200个用户"),
ERR_111136(111136, "部门名称不能重复"),
ERR_111137(111137, "其他管理员正在导入"),
ERR_111138(111138, "企业每次最多只能导入800个用户"),
ERR_111139(111134, "未认证企业只能导入200家门店"),
ERR_111140(111140,"已经与gic关联,无法操作"),
ERR_111141(111141,"门店面积不能超过999999"),
ERR_111142(111142,"品牌不能为空"),
ERR_111143(111143,"code或者手机号码已存在"),
ERR_111144(111144,"该企业或品牌已关联"),
// 企业设置
ERR_200001(200001, "员工不存在"),
ERR_200002(200002, "非当前登录企业员工"),
ERR_500001(500001, "该企业没关联好办"),
ERR_DEFINE(-888, "自定义错误"),
ERR_OTHER(-999, "未知错误code");
private int code;
private String msg;
private HaoBanErrCode(int code, String value) {
this.code = code;
this.msg = value;
}
public static HaoBanErrCode getValue(int code) {
for (HaoBanErrCode sec : HaoBanErrCode.values()) {
if (code == sec.getCode()) {
return sec;
}
}
ERR_OTHER.setMsg("未知错误code:" + code);
return ERR_OTHER;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}
package com.gic.weixin.web.exception;
/**
* Created 2018/7/24.
*
* @author hua
*/
public class ControllerException extends Exception {
}
package com.gic.weixin.web.exception;
/**
* 用户未登陆异常
*
* @author zhurz
*/
public class NoLoginException extends RuntimeException {
}
package com.gic.weixin.web.init;
import com.gic.dict.api.dto.GlobalDictMap;
import com.gic.dict.api.service.ManagerDictService;
import com.gic.quartz.api.dto.QuartzTaskDTO;
import com.gic.quartz.api.service.QuartzService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
@Component
public class MyApplicationContextAware implements ApplicationContextAware {
private Logger log = LogManager.getLogger(MyApplicationContextAware.class);
private static ApplicationContext applicationContext;
@Autowired
private ManagerDictService managerDictService;
@Autowired
private QuartzService quartzService;
@Override
public void setApplicationContext(ApplicationContext appContext) throws BeansException {
applicationContext = appContext;
GlobalDictMap.countyMap = managerDictService.getCountysMap();
GlobalDictMap.cityMap = managerDictService.getCitysMap();
GlobalDictMap.provinceMap = managerDictService.getProvincesMap();
GlobalDictMap.dictMap = managerDictService.getDictList();
GlobalDictMap.storeCategoryDictMap = managerDictService.getStoreCategoryDictList();
log.info("数据字典放入缓存");
QuartzTaskDTO taskDTO =buildQuartzTaskDTO("haoban-dismiss-enterprise-time");
taskDTO.setTaskParam("");
taskDTO.setTaskStatus(1);
taskDTO.setTaskTimeInfo("0 30 0 * * *");
// taskDTO.setTaskTimeInfo("0 0/1 * * * *");
quartzService.addOrUpdateQuartzTask(taskDTO);
QuartzTaskDTO task =buildSendReportQuartzTaskDTO("haoban-send-report");
task.setTaskParam("");
task.setTaskStatus(1);
task.setTaskTimeInfo("0 0 12 1 * 0");
quartzService.addOrUpdateQuartzTask(taskDTO);
QuartzTaskDTO memberExportTask =buildMemberExportQuartzTaskDTO("haoban-member-export");
memberExportTask.setTaskParam("-1");
memberExportTask.setTaskStatus(1);
memberExportTask.setTaskTimeInfo("0 0/15 * * * *");
quartzService.addOrUpdateQuartzTask(memberExportTask);
}
private QuartzTaskDTO buildMemberExportQuartzTaskDTO(String id) {
QuartzTaskDTO taskDTO = new QuartzTaskDTO();
taskDTO.setReferId(id);
taskDTO.setTaskMethod("quartzMemberExport");
taskDTO.setTaskService("com.gic.haoban.app.member.service.api.service.MemberExportApiService");
return taskDTO;
}
private QuartzTaskDTO buildQuartzTaskDTO(String id){
QuartzTaskDTO taskDTO = new QuartzTaskDTO();
taskDTO.setReferId(id);
taskDTO.setTaskMethod("taskDismissEnterprise");
taskDTO.setTaskService("com.gic.haoban.manage.api.service.EnterpriseService");
return taskDTO;
}
private QuartzTaskDTO buildSendReportQuartzTaskDTO(String id){
QuartzTaskDTO taskDTO = new QuartzTaskDTO();
taskDTO.setReferId(id);
taskDTO.setTaskMethod("sendReportMessage");
taskDTO.setTaskService("com.gic.haoban.data.api.service.SendReportMessageApiService");
return taskDTO;
}
}
package com.gic.weixin.web.qo;
/**
* Created by tgs on 2020/2/4.
*/
public class TestQo {
}
package com.gic.weixin.web.vo;
/**
* Created by tgs on 2020/2/4.
*/
public class TestVO {
}
dubbo.registry.file=work-weixin-web
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<import resource="dubbo-work-weixin-web.xml"/>
<import resource="classpath*:dubbo-setting.xml"/>
<import resource="classpath*:redis-init.xml"/>
<import resource="redis-session.xml"/>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<context:component-scan base-package="com.gic.haoban" />
<!-- 应用名称 -->
<dubbo:application name="haoban-apps-web"/>
<dubbo:protocol name="dubbo" port="30004"/>
<!-- 使用zookeeper注册中心暴露服务地址 -->
<!-- <dubbo:registry address="zookeeper://192.168.1.118:2181" protocol="dubbo" id="localAdd"/> -->
<!--<dubbo:registry address="zookeeper://115.159.182.172:2199" protocol="dubbo" id="remoteAdd"/>-->
<!--<dubbo:registry address="zookeeper://localhost:2181|zookeeper://115.159.182.172:2199" protocol="dubbo"/>-->
<!-- 小黄 -->
<dubbo:reference interface="com.gic.dict.api.service.ManagerDictService" id="managerDictService"/>
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordManageService" id="employeeRecordManageService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeHistoryService" id="employeeHistoryService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordImportLogService" id="employeeRecordImportLogService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordService" id="employeeRecordService" timeout="10000" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordShowFieldService" id="employeeRecordShowFieldService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.OnWorkEmployeeService" id="onWorkEmployeeService" />
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.EnterpriseAuditingService" id="enterpriseAuditingService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordFieldSystemService" id="employeeRecordFieldSystemService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordFieldTemplateService" id="employeeRecordFieldTemplateService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeRecordFieldValueService" id="employeeRecordFieldValueService" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.MqImportService" id="mqImportService" timeout="10000" />
<dubbo:reference interface="com.gic.operation.api.service.OperationsManagerService" id="operationsManagerService" timeout="10000" />
<!-- 大华 -->
<dubbo:reference interface="com.gic.haoban.auth.api.service.RoleOperationService" id="roleOperationService"/>
<dubbo:reference interface="com.gic.haoban.auth.api.service.ClerkRightManageService" id="ClerkRightManageService" />
<dubbo:reference interface="com.gic.haoban.auth.api.service.operation.GroupRightService" id="groupRightService"/>
<dubbo:reference interface="com.gic.haoban.auth.api.service.RightTemplateOperation" id="rightTemplateOperation"/>
<dubbo:reference interface="com.gic.haoban.auth.api.service.operation.DisplayRelationService"
id="displayRelationService"/>
<dubbo:reference interface="com.gic.haoban.auth.api.service.MenuOperationService"
id="menuOperationService"/>
<dubbo:reference interface="com.gic.haoban.auth.api.service.LoginManageService" id="loginManageService"/>
<dubbo:annotation package="com.gic.haoban.manage.web.controller" />
<!-- <dubbo:reference interface="com.gic.haoban.auth.api.service.menu.MenuRightService" id="menuRightService" /> -->
<!-- 牧峰 -->
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeClerkService" id="employeeClerkService" timeout="30000"/>
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.DepartmentStoreGroupService" id="departmentStoreGroupService" timeout="30000"/>
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.StoreImageService" id="storeImageService" />
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.StoreService" id="storeService" timeout="30000"/>
<dubbo:reference interface="com.gic.haoban.contacts.api.service.UserService" id="userService" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.EnterpriseBrandService" id="enterpriseBrandService" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.EnterpriseService" id="enterpriseService" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.AppServiceApi" id="appServiceApi" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.EnterpriseSettingService" id="enterpriseSettingService" />
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.ProvinceCityAreaService" id="provinceCityAreaService"/>
<dubbo:reference interface="com.gic.haoban.manage.api.service.TestService" id="testService"/>
<!-- 路飞 -->
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.SharedContactRelationV2Service" id="sharedContactRelationV2Service" />
<dubbo:reference interface="com.gic.haoban.contacts.manage.api.service.SharedContactDepartmentStoreGroupV2Service" id="sharedContactDepartmentStoreGroupV2Service" />
<dubbo:reference interface="com.gic.haoban.contacts.api.service.SharedContactEmployeeStoreV2Service" id="sharedContactEmployeeStoreV2Service" />
<dubbo:reference interface="com.gic.haoban.operation.api.service.AdvertisementService" id="advertisementService" />
<dubbo:reference interface="com.gic.haoban.operation.api.service.EnterpriseAuthenticationService" id="enterpriseAuthenticationService" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.FirstUserConfigService" id="firstUserConfigService" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.FirstDataViewService" id="firstDataViewService" />
<dubbo:reference interface="com.gic.haoban.manage.api.service.FirstQuickSettingViewService" id="firstQuickSettingViewService" />
<dubbo:reference interface="com.gic.haoban.message.api.service.ImOperationService" id="imOperationService"/>
<dubbo:reference interface="com.gic.haoban.contacts.api.service.EmployeeClerkAuditingService" id="employeeClerkAuditingService"/>
<dubbo:reference interface="com.gic.haoban.communicate.api.service.valid.ValidationCodeService" id="validationCodeService"/>
<dubbo:reference interface="com.gic.haoban.mobile.app.api.service.LoginLogService" id="loginLogService"/>
<!--第三方 -->
<dubbo:reference interface="com.gic.thirdparty.api.service.QQCloudPicService" id="qQCloudPicService"/>
<dubbo:reference interface="com.gic.haoban.app.announcement.service.api.service.AnnouncementApiService" id="announcementApiService"/>
<dubbo:reference interface="com.gic.haoban.communicate.api.service.SyncHaobanToGicServiceApi" id="syncHaobanToGicServiceApi" />
<dubbo:reference interface="com.gic.enterprise.api.service.StoreGroupService" id="storeGroupService" timeout="10000" />
<dubbo:reference interface="com.gic.clerk.api.service.UserService" id="gicUserService" timeout="10000"/>
<dubbo:reference id="quartzService" interface="com.gic.quartz.api.service.QuartzService" timeout="10000"/>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-4.1.xsd">
<util:constant static-field="org.springframework.session.data.redis.config.ConfigureRedisAction.NO_OP"/>
<bean id="redisHttpSessionConfiguration"
class="org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration">
<property name="maxInactiveIntervalInSeconds" value="1800"/>
<property name="cookieSerializer" ref="defaultCookieSerializer"/>
</bean>
<bean id="jedisPoolConfig" class="redis.clients.jedis.JedisPoolConfig">
<property name="maxTotal" value="100"/>
<property name="maxIdle" value="10"/>
</bean>
<bean id="jedisConnectionFactory"
class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory" destroy-method="destroy">
<property name="hostName" value="${redis.host}"/>
<property name="port" value="${redis.port}"/>
<property name="password" value="${redis.password}"/>
<property name="timeout" value="3000"/>
<property name="usePool" value="true"/>
<property name="poolConfig" ref="jedisPoolConfig"/>
<property name="database" value="${redis.database}"/>
</bean>
<bean id="defaultCookieSerializer" class="org.springframework.session.web.http.DefaultCookieSerializer">
<property name="cookieName" value="customSessionId"/>
<property name="cookiePath" value="/"></property>
</bean>
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">
<mvc:interceptors>
<bean class="com.gic.haoban.common.interceptor.CORSInterceptor"/>
<bean class="com.gic.commons.interceptor.HeaderTagInterceptor"/>
<bean class="com.gic.haoban.common.ext.PropertyViewClearInterceptor"/>
<mvc:interceptor>
<mvc:mapping path="/**"/>
<mvc:exclude-mapping path="/login.json"/>
<mvc:exclude-mapping path="/login-*"/>
<mvc:exclude-mapping path="/gic-login*"/>
<mvc:exclude-mapping path="/*test.json"/>
<mvc:exclude-mapping path="/test/*"/>
<mvc:exclude-mapping path="/login"/>
<mvc:exclude-mapping path="/nationcode/get-nationcode-list"/>
<mvc:exclude-mapping path="/get-pic-code"/>
<mvc:exclude-mapping path="/phone-login"/>
<mvc:exclude-mapping path="/upload-file*"/>
<mvc:exclude-mapping path="/upload-file-voice"/>
<bean class="com.gic.weixin.web.interceptor.WebInterceptor"/>
</mvc:interceptor>
</mvc:interceptors>
</beans>
\ No newline at end of file
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<!-- 扫描注解包路径,多个包用逗号分隔,不填pacakge表示扫描当前ApplicationContext中所有的类 -->
<context:component-scan base-package="com.gic.weixin.*" />
<!-- 启动对@AspectJ注解的支持 -->
<aop:aspectj-autoproxy />
<bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="defaultEncoding" value="UTF-8"></property>
<property name="maxUploadSize" value="-1"></property>
</bean>
<bean class="com.gic.redis.data.aop.RedisCacheAop" id="redisCacheAop"/>
<!-- 明确js/css/jpg/gif等静态资源的访问不通过Constroller -->
<mvc:default-servlet-handler />
<!-- 启动注解驱动的Spring MVC功能,注册请求url和注解POJO类方法的映射 -->
<mvc:annotation-driven>
<!-- 设置不使用默认的消息转换器 -->
<mvc:message-converters register-defaults="false">
<bean class="com.gic.haoban.common.ext.MappingJackson2HttpMessagePropertyViewConverter"/>
<bean class="org.springframework.http.converter.StringHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<value>text/html;charset=UTF-8</value>
<value>application/x-www-form-urlencoded;charset=UTF-8</value>
<!--默认是 iso-8859-1 -->
</list>
</property>
</bean>
<bean class="org.springframework.http.converter.ByteArrayHttpMessageConverter"/>
</mvc:message-converters>
</mvc:annotation-driven>
<!-- 启动Spring MVC的注解功能,完成请求和注解POJO的映射 (解决中文乱码) -->
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="messageConverters">
<list>
<bean class="org.springframework.http.converter.StringHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<value>text/html;charset=UTF-8</value>
<value>application/x-www-form-urlencoded;charset=UTF-8</value>
<!--默认是 iso-8859-1 -->
</list>
</property>
</bean>
<bean class="org.springframework.http.converter.ByteArrayHttpMessageConverter"/>
</list>
</property>
</bean>
<!---->
<!--<bean id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">-->
<!--<property name="converters">-->
<!--<set>-->
<!--<bean class="com.gic.commons.util.DateConverter"></bean>-->
<!--</set>-->
<!--</property>-->
<!--</bean>-->
<bean id="contentNegotiationManager" class="org.springframework.web.accept.ContentNegotiationManagerFactoryBean">
<!-- 扩展名至mimeType的映射,即 /user.json => application/json -->
<property name= "favorPathExtension" value= "true" />
<!-- 用于开启 /userinfo/123?format=json 的支持 -->
<property name= "favorParameter" value= "true" />
<property name= "parameterName" value= "format"/>
<!-- 是否忽略Accept Header -->
<property name= "ignoreAcceptHeader" value= "false"/>
<property name="mediaTypes">
<value>
html=text/html
json=application/json
</value>
</property>
<property name="defaultContentType" value="text/html"/>
</bean>
<!-- 视图解析器配置 -->
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" />
<!-- If no extension matched, use JSP view -->
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="0"/>
<property name="contentNegotiationManager" ref="contentNegotiationManager"/>
<property name="defaultViews">
<list>
<bean class="com.gic.haoban.common.ext.MappingJackson2JsonPropertyView" />
</list>
</property>
</bean>
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>Archetype Created Web Application</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext-conf.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring-*.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>utf-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>springSessionRepositoryFilter</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSessionRepositoryFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment