From 3c4adb126b51d09f8c8e2f10ba90eb411e918b17 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 29 十二月 2018 10:03:38 +0800
Subject: [PATCH] 新建user相关服务

---
 fanli-facade-user/pom.xml                                              |   33 +
 fanli-service-user/src/main/webapp/WEB-INF/web.xml                     |   68 ++
 fanli-service-user/src/main/resource/mybatis-config.xml                |   21 
 pom.xml                                                                | 1096 ++++++++++++++++++------------------
 fanli-facade-user/src/main/java/org/fanli/facade/user/dto/Test.java    |    5 
 fanli-service-user/src/main/java/org/fanli/service/user/App.java       |   13 
 fanli-service-user/src/main/resource/hibernate.cfg.xml                 |   10 
 fanli-service-user/src/main/resource/ehcache.xml                       |  181 ++++++
 fanli-facade-user/src/test/java/org/fanli/facade/user/AppTest.java     |   38 +
 fanli-service-user/pom.xml                                             |   32 +
 fanli-service-user/src/test/java/org/fanli/service/user/AppTest.java   |   38 +
 fanli-facade-user/src/main/java/org/fanli/facade/user/entity/Test.java |    5 
 fanli-service-user/src/main/resource/spring.xml                        |  167 +++++
 13 files changed, 1,160 insertions(+), 547 deletions(-)

diff --git a/fanli-facade-user/pom.xml b/fanli-facade-user/pom.xml
new file mode 100644
index 0000000..01030a3
--- /dev/null
+++ b/fanli-facade-user/pom.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>com.yeshi.fanli</groupId>
+    <artifactId>flq</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+  </parent>
+  <artifactId>fanli-facade-user</artifactId>
+  <name>fanli-facade-user</name>
+  <url>http://maven.apache.org</url>
+  <packaging>jar</packaging>
+  <properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+  <dependencies>
+		<dependency>
+			<groupId>com.yeshi.fanli</groupId>
+			<artifactId>fanli-common</artifactId>
+			<version>0.0.1-SNAPSHOT</version>
+		</dependency>
+
+		<dependency>
+			<groupId>com.yeshi.fanli</groupId>
+			<artifactId>fanli-common-config</artifactId>
+			<version>0.0.1-SNAPSHOT</version>
+		</dependency>
+  </dependencies>
+  <build>
+		<finalName>fanli-facade-user</finalName>
+  </build>
+</project>
diff --git a/fanli-facade-user/src/main/java/org/fanli/facade/user/dto/Test.java b/fanli-facade-user/src/main/java/org/fanli/facade/user/dto/Test.java
new file mode 100644
index 0000000..1e5b221
--- /dev/null
+++ b/fanli-facade-user/src/main/java/org/fanli/facade/user/dto/Test.java
@@ -0,0 +1,5 @@
+package org.fanli.facade.user.dto;
+
+public class Test {
+
+}
diff --git a/fanli-facade-user/src/main/java/org/fanli/facade/user/entity/Test.java b/fanli-facade-user/src/main/java/org/fanli/facade/user/entity/Test.java
new file mode 100644
index 0000000..c24bb43
--- /dev/null
+++ b/fanli-facade-user/src/main/java/org/fanli/facade/user/entity/Test.java
@@ -0,0 +1,5 @@
+package org.fanli.facade.user.entity;
+
+public class Test {
+
+}
diff --git a/fanli-facade-user/src/test/java/org/fanli/facade/user/AppTest.java b/fanli-facade-user/src/test/java/org/fanli/facade/user/AppTest.java
new file mode 100644
index 0000000..61a3968
--- /dev/null
+++ b/fanli-facade-user/src/test/java/org/fanli/facade/user/AppTest.java
@@ -0,0 +1,38 @@
+package org.fanli.facade.user;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertTrue( true );
+    }
+}
diff --git a/fanli-service-user/pom.xml b/fanli-service-user/pom.xml
new file mode 100644
index 0000000..6a39d3b
--- /dev/null
+++ b/fanli-service-user/pom.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<project
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>com.yeshi.fanli</groupId>
+		<artifactId>flq</artifactId>
+		<version>0.0.1-SNAPSHOT</version>
+	</parent>
+	<artifactId>fanli-service-user</artifactId>
+	<name>fanli-service-user</name>
+	<url>http://maven.apache.org</url>
+	<packaging>war</packaging>
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+	</properties>
+	<dependencies>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>3.8.1</version>
+			<scope>test</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>com.yeshi.fanli</groupId>
+			<artifactId>fanli-facade-user</artifactId>
+			<version>0.0.1-SNAPSHOT</version>
+		</dependency>
+	</dependencies>
+</project>
diff --git a/fanli-service-user/src/main/java/org/fanli/service/user/App.java b/fanli-service-user/src/main/java/org/fanli/service/user/App.java
new file mode 100644
index 0000000..3aac5a2
--- /dev/null
+++ b/fanli-service-user/src/main/java/org/fanli/service/user/App.java
@@ -0,0 +1,13 @@
+package org.fanli.service.user;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}
diff --git a/fanli-service-user/src/main/resource/ehcache.xml b/fanli-service-user/src/main/resource/ehcache.xml
new file mode 100644
index 0000000..96c429b
--- /dev/null
+++ b/fanli-service-user/src/main/resource/ehcache.xml
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">
+
+	<!--纾佺洏缂撳瓨鐨勫湴鍧� -->
+	<diskStore path="java.io.tmpdir" />
+	<!-- <diskStore path="D:\test" /> -->
+	<!-- 榛樿缂撳瓨 -->
+	<defaultCache maxElementsInMemory="1000" eternal="false"
+		maxElementsOnDisk="10000" timeToIdleSeconds="120" timeToLiveSeconds="120"
+		overflowToDisk="true" />
+
+	<!-- 鍒嗙被缂撳瓨 -->
+	<cache name="classCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 浠婃棩鐑棬 -->
+	<cache name="crgCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="1200"
+		timeToLiveSeconds="1200" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 棣栭〉banner缂撳瓨 -->
+	<cache name="bannerCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 棣栭〉鐗堝潡缂撳瓨 -->
+	<cache name="supersectionCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 棣栭〉涓撻缂撳瓨 -->
+	<cache name="specialCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!--鐗堝潡鍟嗗搧缂撳瓨 -->
+	<cache name="sectionCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 瀹㈡埛绔弬鏁扮紦瀛� -->
+	<cache name="clientParamCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 绯荤粺鍙傛暟缂撳瓨 -->
+	<cache name="sysCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 椤甸潰鍏ㄩ儴缂撳瓨 -->
+	<cache name="SimplePageCachingFilter" maxElementsInMemory="10"
+		maxElementsOnDisk="10" eternal="false" overflowToDisk="true"
+		timeToIdleSeconds="240" timeToLiveSeconds="240"
+		memoryStoreEvictionPolicy="LFU">
+	</cache>
+
+	<cache name="maskKeyCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="180000"
+		timeToLiveSeconds="180000" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 瀛愮郴缁熺紦瀛� -->
+	<cache name="childSystemCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="180000"
+		timeToLiveSeconds="180000" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!--涓夌骇鍟嗗搧缂撳瓨 -->
+	<cache name="goodsCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="600"
+		timeToLiveSeconds="600" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 浼樻儬鍟嗗搧缂撳瓨 -->
+	<cache name="taoBaoCouponCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="3600"
+		timeToLiveSeconds="3600" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+
+	<cache name="config" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="18000"
+		timeToLiveSeconds="18000" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+
+	<cache name="configCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<cache name="homeBaoManage" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="18000"
+		timeToLiveSeconds="18000" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+	<cache name="temai" maxElementsInMemory="1000" maxElementsOnDisk="10000"
+		eternal="false" timeToIdleSeconds="18000" timeToLiveSeconds="18000"
+		overflowToDisk="true" memoryStoreEvictionPolicy="LRU" />
+
+	<!-- 娣樺缂撳瓨 -->
+	<cache name="taoKeCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="20"
+		timeToLiveSeconds="20" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+
+
+	<!-- 鍔ㄦ�佺紦瀛� -->
+	<cache name="activityCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+	
+	<!-- dos鎷︽埅 -->		
+	<cache name="rsCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />
+	
+	<!-- 娣樺鎺ㄨ崘妯″潡鍟嗗搧缂撳瓨 -->
+	<cache name="taoKeMaterialCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+	<!-- 娣樺鐗╂枡鎼滅储缂撳瓨 -->
+	<cache name="searchWuLiaoCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+
+	<!-- 9.9/19.9/29.9/49.9妯″潡鍟嗗搧缂撳瓨 -->
+	<cache name="quality9K9Cache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+	<!-- 绮鹃�夊簱鍟嗗搧鏌ヨ缂撳瓨 -->
+	<cache name="qualityCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+	<!-- 鏍囩缂撳瓨 -->
+	<cache name="labelCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+		
+	<!-- 娣樺疂鎺ㄨ崘鐗╂枡id -->
+	<cache name="taobaoMeterialCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+		
+	<!-- 娣峰悎鍒嗙被鏌ヨ缂撳瓨 -->
+	<cache name="mergeClassCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+		
+	<!-- 娣峰悎鍒嗙被鏌ヨ缂撳瓨 -->
+	<cache name="helpCenterCache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+		
+	<!-- 鍙�11缂撳瓨 -->
+	<cache name="s11Cache" maxElementsInMemory="1000"
+		maxElementsOnDisk="10000" eternal="false" timeToIdleSeconds="120"
+		timeToLiveSeconds="120" overflowToDisk="true"
+		memoryStoreEvictionPolicy="LRU" />	
+</ehcache>
diff --git a/fanli-service-user/src/main/resource/hibernate.cfg.xml b/fanli-service-user/src/main/resource/hibernate.cfg.xml
new file mode 100644
index 0000000..fe6ce9b
--- /dev/null
+++ b/fanli-service-user/src/main/resource/hibernate.cfg.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?> 
+     <!DOCTYPE hibernate-configuration PUBLIC 
+        "-//Hibernate/Hibernate Configuration DTD 3.0//EN" 
+        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+	<session-factory>
+		<property name="hibernate.current_session_context_class">org.springframework.orm.hibernate4.SpringSessionContext</property>
+	</session-factory>
+
+</hibernate-configuration> 
\ No newline at end of file
diff --git a/fanli-service-user/src/main/resource/mybatis-config.xml b/fanli-service-user/src/main/resource/mybatis-config.xml
new file mode 100644
index 0000000..1a37250
--- /dev/null
+++ b/fanli-service-user/src/main/resource/mybatis-config.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE configuration
+  PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
+  "http://mybatis.org/dtd/mybatis-3-config.dtd">
+<configuration>
+	<!-- 閰嶇疆鍏ㄥ眬灞炴�� -->
+	<settings>
+		<!-- 浣跨敤jdbc鐨刧etGeneratedKeys鑾峰彇鏁版嵁搴撹嚜澧炰富閿�� -->
+		<setting name="useGeneratedKeys" value="true" />
+
+		<!-- 浣跨敤鍒楀埆鍚嶆浛鎹㈠垪鍚� 榛樿:true -->
+		<setting name="useColumnLabel" value="true" />
+
+		<!-- 寮�鍚┘宄板懡鍚嶈浆鎹�:Table{create_time} -> Entity{createTime} -->
+		<setting name="mapUnderscoreToCamelCase" value="true" />
+
+		<setting name="logImpl" value="STDOUT_LOGGING" />
+
+	</settings>
+
+</configuration>
\ No newline at end of file
diff --git a/fanli-service-user/src/main/resource/spring.xml b/fanli-service-user/src/main/resource/spring.xml
new file mode 100644
index 0000000..b86f92d
--- /dev/null
+++ b/fanli-service-user/src/main/resource/spring.xml
@@ -0,0 +1,167 @@
+<?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:aop="http://www.springframework.org/schema/aop"
+	xmlns:cache="http://www.springframework.org/schema/cache"
+	xmlns:context="http://www.springframework.org/schema/context"
+	xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:task="http://www.springframework.org/schema/task"
+	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:dubbo="http://dubbo.apache.org/schema/dubbo"
+	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd    
+        http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache-3.2.xsd    
+        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
+        http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
+        http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.2.xsd    
+        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.2.xsd
+        http://dubbo.apache.org/schema/dubbo        http://dubbo.apache.org/schema/dubbo/dubbo.xsd">
+	<!-- 蹇呴』閲囩敤java8 -->
+
+
+	<!-- 缁勪欢鎵弿 -->
+	<context:component-scan base-package="com.yeshi.fanli.user">
+	</context:component-scan>
+	<!--閰嶇疆spring 娉ㄨВ -->
+	<context:annotation-config />
+	<!-- 榛樿鐨勬敞瑙f槧灏勭殑鏀寔 -->
+	<mvc:annotation-driven />
+	<!-- Spring AOP鏀寔 -->
+	<aop:aspectj-autoproxy proxy-target-class="true" />
+
+	<!-- Dubbo閰嶇疆 -->
+	<!-- 鎻愪緵鏂瑰簲鐢ㄤ俊鎭紝鐢ㄤ簬璁$畻渚濊禆鍏崇郴 -->
+	<!-- <dubbo:application name="fanli-goods"/> -->
+	<!-- 浣跨敤zookeeper骞挎挱娉ㄥ唽涓績鏆撮湶鏈嶅姟鍦板潃 -->
+	<!-- <dubbo:registry address="zookeeper://192.168.1.147:2182"/> -->
+	<!-- 鐢╠ubbo鍗忚鍦�20880绔彛鏆撮湶鏈嶅姟 -->
+	<!-- <dubbo:protocol name="dubbo" port="20880"/> -->
+	<!-- <dubbo:annotation package="com.yeshi.fanli.user.service"></dubbo:annotation> -->
+
+	<!-- 寮曞叆閰嶇疆鏂囦欢 -->
+	<bean
+		class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+		<property name="locations"> <!-- PropertyPlaceholderConfigurer绫讳腑鏈変釜locations灞炴�э紝鎺ユ敹鐨勬槸涓�涓暟缁勶紝鍗虫垜浠彲浠ュ湪涓嬮潰閰嶅ソ澶氫釜properties鏂囦欢 -->
+			<array>
+				<value>classpath:druid.properties</value>
+			</array>
+		</property>
+	</bean>
+
+
+	<bean id="multipartResolver"
+		class="org.springframework.web.multipart.commons.CommonsMultipartResolver" />
+	<bean
+		class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor" />
+
+	<bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource"
+		init-method="init" destroy-method="close">
+		<property name="url" value="${druid.url}" />
+		<property name="username" value="${druid.username}" />
+		<property name="password" value="${druid.password}" />
+
+		<!-- 閰嶇疆鍒濆鍖栧ぇ灏忋�佹渶灏忋�佹渶澶� -->
+		<property name="initialSize" value="${druid.initialSize}" />
+		<property name="minIdle" value="${druid.minIdle}" />
+		<property name="maxActive" value="${druid.maxActive}" />
+
+		<!-- 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂� -->
+		<property name="maxWait" value="${druid.maxWait}" />
+
+		<!-- 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣 -->
+		<property name="timeBetweenEvictionRunsMillis" value="${druid.timeBetweenEvictionRunsMillis}" />
+		<!-- 瓒呰繃鏃堕棿闄愬埗鏄惁鍥炴敹 -->
+		<property name="removeAbandoned" value="true" />
+		<!-- 瓒呮椂鏃堕棿锛涘崟浣嶄负绉掋��180绉�=3鍒嗛挓 -->
+		<property name="removeAbandonedTimeout" value="180" />
+		<!-- 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣 -->
+		<property name="minEvictableIdleTimeMillis" value="${druid.minEvictableIdleTimeMillis}" />
+
+		<property name="validationQuery" value="SELECT 'x'" />
+		<property name="testWhileIdle" value="true" />
+		<property name="testOnBorrow" value="false" />
+		<property name="testOnReturn" value="false" />
+
+		<!-- 鎵撳紑PSCache锛屽苟涓旀寚瀹氭瘡涓繛鎺ヤ笂PSCache鐨勫ぇ灏� -->
+		<property name="poolPreparedStatements" value="false" />
+		<property name="maxPoolPreparedStatementPerConnectionSize"
+			value="20" />
+		<!-- 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters -->
+		<property name="filters" value="stat" />
+	</bean>
+
+	<bean id="sessionFactory"
+		class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
+		<property name="dataSource" ref="dataSource"></property>
+		<property name="hibernateProperties">
+			<props>
+				<prop key="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</prop>
+				<!-- <prop key="hibernate.hbm2ddl.auto">false</prop> -->
+				<prop key="hibernate.show_sql">true</prop>
+			</props>
+		</property>
+		<property name="configLocation" value="classpath:hibernate.cfg.xml" />
+		<!--聽鑷姩鎵弿瀹炰綋聽 -->
+		<property name="packagesToScan" value="com.yeshi.fanli.user.entity.DO" />
+	</bean>
+
+	<!-- spring鍜孧yBatis瀹岀編鏁村悎锛屼笉闇�瑕乵ybatis鐨勯厤缃槧灏勬枃浠� -->
+	<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
+		<property name="dataSource" ref="dataSource" />
+		<property name="configLocation" value="classpath:mybatis-config.xml" />
+		<!-- 鑷姩鎵弿mapping.xml鏂囦欢 -->
+		<property name="mapperLocations"
+			value="classpath:com/yeshi/fanli/user/mapping/**/*.xml"></property>
+	</bean>
+
+
+	<!-- DAO鎺ュ彛鎵�鍦ㄥ寘鍚嶏紝Spring浼氳嚜鍔ㄦ煡鎵惧叾涓嬬殑绫� -->
+	<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
+		<property name="basePackage" value="com.yeshi.fanli.user.dao" />
+		<property name="sqlSessionFactoryBeanName" value="sqlSessionFactory"></property>
+	</bean>
+
+
+	<!-- 浜嬬墿 -->
+	<bean id="transactionManager"
+		class="org.springframework.orm.hibernate4.HibernateTransactionManager">
+		<property name="sessionFactory" ref="sessionFactory" />
+	</bean>
+
+	<tx:annotation-driven transaction-manager="transactionManager"
+		proxy-target-class="true" />
+
+	<bean id="hibernateTemplate" class="org.springframework.orm.hibernate4.HibernateTemplate">
+		<property name="sessionFactory" ref="sessionFactory" />
+	</bean>
+
+	<task:annotation-driven scheduler="qbScheduler"
+		mode="proxy" />
+	<task:scheduler id="qbScheduler" pool-size="50" />
+
+	<!-- 寮傛鏂规硶 -->
+	<task:executor id="pushExecutor" pool-size="15-1000"
+		queue-capacity="100" keep-alive="20" />
+
+	<!-- 缂撳瓨娉ㄨВ鏀寔 -->
+	<cache:annotation-driven cache-manager="cacheManager" />
+	<bean id="cacheManagerFactory"
+		class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
+		<property name="configLocation" value="classpath:ehcache.xml" />
+	</bean>
+	<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager">
+		<property name="cacheManager" ref="cacheManagerFactory" />
+	</bean>
+
+	<!-- Spring绾跨▼姹� -->
+	<bean id="taskExecutor"
+		class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
+		<!-- 绾跨▼姹犵淮鎶ょ嚎绋嬬殑鏈�灏戞暟閲� -->
+		<property name="corePoolSize" value="100" />
+		<!-- 绾跨▼姹犵淮鎶ょ嚎绋嬫墍鍏佽鐨勭┖闂叉椂闂� -->
+		<property name="keepAliveSeconds" value="30000" />
+		<!-- 绾跨▼姹犵淮鎶ょ嚎绋嬬殑鏈�澶ф暟閲� -->
+		<property name="maxPoolSize" value="1000" />
+		<!-- 绾跨▼姹犳墍浣跨敤鐨勭紦鍐查槦鍒� -->
+		<property name="queueCapacity" value="200" />
+	</bean>
+
+
+</beans>
\ No newline at end of file
diff --git a/fanli-service-user/src/main/webapp/WEB-INF/web.xml b/fanli-service-user/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..dc8456f
--- /dev/null
+++ b/fanli-service-user/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:web="http://java.sun.com/xml/ns/javaee"
+	xmlns="http://java.sun.com/xml/ns/javaee"
+	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+	version="2.5" metadata-complete="true">
+	<context-param>
+		<param-name>contextConfigLocation</param-name>
+		<param-value>classpath*:/spring.xml</param-value>
+	</context-param>
+	<listener>
+		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+	</listener>
+	<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>
+		<init-param>
+			<param-name>enabled</param-name>
+			<param-value>true</param-value>
+		</init-param>
+	</filter>
+	<filter-mapping>
+		<filter-name>encodingFilter</filter-name>
+		<url-pattern>/*</url-pattern>
+	</filter-mapping>
+	<!-- druid -->
+	<servlet>
+		<servlet-name>DruidStatView</servlet-name>
+		<servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class>
+		<init-param>
+			<!-- 鍏佽娓呯┖缁熻鏁版嵁 -->
+			<param-name>resetEnable</param-name>
+			<param-value>true</param-value>
+		</init-param>
+
+		<init-param>
+			<!-- 鐢ㄦ埛鍚� -->
+			<param-name>loginUsername</param-name>
+			<param-value>yeshi</param-value>
+		</init-param>
+		<init-param>
+			<!-- 瀵嗙爜 -->
+			<param-name>loginPassword</param-name>
+			<param-value>yeshi2016</param-value>
+		</init-param>
+	</servlet>
+	<servlet-mapping>
+		<servlet-name>DruidStatView</servlet-name>
+		<url-pattern>/druid/*</url-pattern>
+	</servlet-mapping>
+
+	<filter>
+		<filter-name>DruidWebStatFilter</filter-name>
+		<filter-class>com.alibaba.druid.support.http.WebStatFilter</filter-class>
+		<init-param>
+			<param-name>exclusions</param-name>
+			<param-value>*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*</param-value>
+		</init-param>
+	</filter>
+	<filter-mapping>
+		<filter-name>DruidWebStatFilter</filter-name>
+		<url-pattern>/*</url-pattern>
+	</filter-mapping>
+</web-app>
\ No newline at end of file
diff --git a/fanli-service-user/src/test/java/org/fanli/service/user/AppTest.java b/fanli-service-user/src/test/java/org/fanli/service/user/AppTest.java
new file mode 100644
index 0000000..d460578
--- /dev/null
+++ b/fanli-service-user/src/test/java/org/fanli/service/user/AppTest.java
@@ -0,0 +1,38 @@
+package org.fanli.service.user;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertTrue( true );
+    }
+}
diff --git a/pom.xml b/pom.xml
index 948b6e5..c2a6d45 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,547 +1,549 @@
-<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.yeshi.fanli</groupId>
-	<artifactId>flq</artifactId>
-	<version>0.0.1-SNAPSHOT</version>
-	<packaging>pom</packaging>
-
-	<name>flq</name>
-	<url>http://maven.apache.org</url>
-
-	<modules>
-		<module>fanli-utils</module>
-		<module>fanli-common</module>
-		<module>fanli-common-config</module>
-		<module>fanli-facade-system</module>
-		<module>fanli-service-system</module>
-		<module>fanli-facade-goods</module>
-		<module>fanli-service-goods</module>
-	</modules>
-
-
-	<properties>
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-		<org.hibernate.version>4.1.2</org.hibernate.version>
-		<org.springframework-version>4.3.0.RELEASE</org.springframework-version>
-		<mybatis.version>3.4.1</mybatis.version>
-		<zookeeper.version>3.4.6</zookeeper.version>
-		<curator.version>2.8.0</curator.version>
-		<dubbo.version>2.6.4</dubbo.version>
-	</properties>
-
-	<dependencies>
-
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>4.11</version>
-			<scope>test</scope>
-		</dependency>
-
-		<dependency>
-			<groupId>net.sf.ehcache</groupId>
-			<artifactId>ehcache-core</artifactId>
-			<version>2.6.11</version>
-		</dependency>
-
-		<dependency>
-			<groupId>net.sf.ehcache</groupId>
-			<artifactId>ehcache-web</artifactId>
-			<version>2.0.4</version>
-		</dependency>
-
-		<!-- spring start -->
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-context</artifactId>
-			<version>${org.springframework-version}</version><!--$NO-MVN-MAN-VER$ -->
-		</dependency>
-
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-webmvc</artifactId>
-			<version>${org.springframework-version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-orm</artifactId>
-			<version>${org.springframework-version}</version>
-			<type>jar</type>
-			<scope>compile</scope>
-		</dependency>
-
-
-		<dependency>
-			<groupId>org.quartz-scheduler</groupId>
-			<artifactId>quartz</artifactId>
-			<version>2.2.1</version>
-		</dependency>
-
-
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-context-support</artifactId>
-			<version>${org.springframework-version}</version>
-		</dependency>
-
-		<!-- Spring AOP -->
-		<!-- https://mvnrepository.com/artifact/aspectj/aspectjrt -->
-		<dependency>
-			<groupId>aspectj</groupId>
-			<artifactId>aspectjrt</artifactId>
-			<version>1.5.3</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/aspectj/aspectjweaver -->
-		<dependency>
-			<groupId>aspectj</groupId>
-			<artifactId>aspectjweaver</artifactId>
-			<version>1.5.4</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
-		<dependency>
-			<groupId>cglib</groupId>
-			<artifactId>cglib-nodep</artifactId>
-			<version>3.2.4</version>
-		</dependency>
-
-
-		<!-- spring end -->
-		<!-- freemarker寮�濮� -->
-
-		<dependency>
-			<groupId>org.freemarker</groupId>
-			<artifactId>freemarker</artifactId>
-			<version>2.3.23</version>
-		</dependency>
-		<!-- freemarker缁撴潫 -->
-
-
-		<!-- JSP start -->
-
-		<dependency>
-			<groupId>javax.servlet</groupId>
-			<artifactId>servlet-api</artifactId>
-			<version>2.5</version>
-			<scope>provided</scope>
-		</dependency>
-
-		<dependency>
-			<groupId>javax.servlet.jsp</groupId>
-			<artifactId>jsp-api</artifactId>
-			<version>2.2</version>
-			<scope>provided</scope>
-		</dependency>
-
-		<!-- jsp end -->
-		<dependency>
-			<groupId>cglib</groupId>
-			<artifactId>cglib</artifactId>
-			<version>2.2.2</version>
-		</dependency>
-		<dependency>
-			<groupId>mysql</groupId>
-			<artifactId>mysql-connector-java</artifactId>
-			<version>5.1.21</version>
-		</dependency>
-
-		<!-- hibernate -->
-		<!-- hibernate 4.3.0 start -->
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-core</artifactId>
-			<version>4.3.0.Final</version>
-		</dependency>
-		<dependency>
-			<groupId>org.hibernate.javax.persistence</groupId>
-			<artifactId>hibernate-jpa-2.1-api</artifactId>
-			<version>1.0.0.Final</version>
-		</dependency>
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-ehcache</artifactId>
-			<version>4.3.0.Final</version>
-		</dependency>
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-validator</artifactId>
-			<version>5.1.0.Alpha1</version>
-		</dependency>
-		<dependency>
-			<groupId>org.hibernate.common</groupId>
-			<artifactId>hibernate-commons-annotations</artifactId>
-			<version>4.0.4.Final</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-c3p0</artifactId>
-			<version>4.3.0.Final</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-proxool</artifactId>
-			<version>4.3.0.Final</version>
-		</dependency>
-
-		<!-- 涓轰簡璁〩ibernate浣跨敤浠g悊妯″紡锛岄渶瑕乯avassist -->
-		<dependency>
-			<groupId>org.javassist</groupId>
-			<artifactId>javassist</artifactId>
-			<version>3.18.1-GA</version>
-		</dependency>
-
-		<!-- hibernate 4.3.0 end -->
-		<dependency>
-			<groupId>jstl</groupId>
-			<artifactId>jstl</artifactId>
-			<version>1.2</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.commons</groupId>
-			<artifactId>commons-dbcp2</artifactId>
-			<version>2.0</version>
-		</dependency>
-
-
-		<dependency>
-			<groupId>org.apache.struts</groupId>
-			<artifactId>struts2-core</artifactId>
-			<version>2.3.14</version>
-		</dependency>
-
-
-		<dependency>
-			<groupId>antlr</groupId>
-			<artifactId>antlr</artifactId>
-			<version>2.7.7</version>
-		</dependency>
-		<dependency>
-			<groupId>dom4j</groupId>
-			<artifactId>dom4j</artifactId>
-			<version>1.6.1</version>
-		</dependency>
-
-		<dependency>
-			<groupId>commons-collections</groupId>
-			<artifactId>commons-collections</artifactId>
-			<version>3.1</version>
-		</dependency>
-		<dependency>
-			<groupId>commons-dbcp</groupId>
-			<artifactId>commons-dbcp</artifactId>
-			<version>1.4</version>
-		</dependency>
-		<dependency>
-			<groupId>commons-pool</groupId>
-			<artifactId>commons-pool</artifactId>
-			<version>1.4</version>
-		</dependency>
-
-		<dependency>
-			<groupId>commons-logging</groupId>
-			<artifactId>commons-logging</artifactId>
-			<version>1.1.1</version>
-		</dependency>
-
-		<dependency>
-			<groupId>javax.transaction</groupId>
-			<artifactId>jta</artifactId>
-			<version>1.1</version>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-api</artifactId>
-			<version>1.6.1</version>
-		</dependency>
-
-
-		<dependency>
-			<groupId>org.jboss.logging</groupId>
-			<artifactId>jboss-logging</artifactId>
-			<version>3.1.3.GA</version>
-		</dependency>
-		<dependency>
-			<groupId>org.jboss.spec.javax.annotation</groupId>
-			<artifactId>jboss-annotations-api_1.2_spec</artifactId>
-			<version>1.0.0.Final</version>
-		</dependency>
-
-		<!-- 甯哥敤宸ュ叿 -->
-
-		<dependency>
-			<groupId>net.sf.json-lib</groupId>
-			<artifactId>json-lib</artifactId>
-			<version>2.4</version>
-			<classifier>jdk15</classifier>
-		</dependency>
-
-		<dependency>
-			<groupId>org.jsoup</groupId>
-			<artifactId>jsoup</artifactId>
-			<version>1.9.2</version>
-		</dependency>
-
-		<dependency>
-			<groupId>com.google.code.gson</groupId>
-			<artifactId>gson</artifactId>
-			<version>2.7</version>
-		</dependency>
-
-		<dependency>
-			<groupId>commons-httpclient</groupId>
-			<artifactId>commons-httpclient</artifactId>
-			<version>3.1</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
-		<dependency>
-			<groupId>org.apache.httpcomponents</groupId>
-			<artifactId>httpclient</artifactId>
-			<version>4.4.1</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
-		<dependency>
-			<groupId>org.apache.httpcomponents</groupId>
-			<artifactId>httpcore</artifactId>
-			<version>4.4.1</version>
-		</dependency>
-
-
-		<dependency>
-			<groupId>log4j</groupId>
-			<artifactId>log4j</artifactId>
-			<version>1.2.17</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
-		<dependency>
-			<groupId>javax.mail</groupId>
-			<artifactId>mail</artifactId>
-			<version>1.4.7</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/com.google.zxing/core -->
-		<dependency>
-			<groupId>com.google.zxing</groupId>
-			<artifactId>core</artifactId>
-			<version>3.3.0</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/com.google.zxing/javase -->
-		<dependency>
-			<groupId>com.google.zxing</groupId>
-			<artifactId>javase</artifactId>
-			<version>3.3.0</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl -->
-		<dependency>
-			<groupId>net.sourceforge.jexcelapi</groupId>
-			<artifactId>jxl</artifactId>
-			<version>2.6.12</version>
-		</dependency>
-		<!-- druid杩炴帴姹� -->
-		<dependency>
-			<groupId>com.alibaba</groupId>
-			<artifactId>druid</artifactId>
-			<version>1.1.10</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.poi</groupId>
-			<artifactId>poi-ooxml</artifactId>
-			<version>3.9</version>
-		</dependency>
-
-
-		<!-- mybatis鏍稿績鍖� -->
-		<dependency>
-			<groupId>org.mybatis</groupId>
-			<artifactId>mybatis</artifactId>
-			<version>${mybatis.version}</version>
-		</dependency>
-		<!-- mybatis/spring鍖� -->
-		<dependency>
-			<groupId>org.mybatis</groupId>
-			<artifactId>mybatis-spring</artifactId>
-			<version>1.3.0</version>
-		</dependency>
-
-
-		<!-- https://mvnrepository.com/artifact/com.github.jai-imageio/jai-imageio-core -->
-		<dependency>
-			<groupId>com.github.jai-imageio</groupId>
-			<artifactId>jai-imageio-core</artifactId>
-			<version>1.3.0</version>
-		</dependency>
-
-		<dependency>
-			<groupId>com.qcloud</groupId>
-			<artifactId>cos_api</artifactId>
-			<version>5.2.4</version>
-		</dependency>
-
-		<dependency>
-			<groupId>commons-codec</groupId>
-			<artifactId>commons-codec</artifactId>
-			<version>1.10</version>
-		</dependency>
-
-		<dependency>
-			<groupId>commons-fileupload</groupId>
-			<artifactId>commons-fileupload</artifactId>
-			<version>1.3.1</version>
-		</dependency>
-
-		<dependency>
-			<groupId>commons-io</groupId>
-			<artifactId>commons-io</artifactId>
-			<version>2.4</version>
-		</dependency>
-
-
-		<dependency>
-			<groupId>redis.clients</groupId>
-			<artifactId>jedis</artifactId>
-			<version>2.1.0</version>
-			<type>jar</type>
-			<scope>compile</scope>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-redis -->
-		<dependency>
-			<groupId>org.springframework.data</groupId>
-			<artifactId>spring-data-redis</artifactId>
-			<version>1.0.2.RELEASE</version>
-		</dependency>
-
-
-		<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
-		<dependency>
-			<groupId>com.alibaba</groupId>
-			<artifactId>fastjson</artifactId>
-			<version>1.2.47</version>
-		</dependency>
-
-		<!-- 鑵捐浜戠煭淇� -->
-		<dependency>
-			<groupId>com.github.qcloudsms</groupId>
-			<artifactId>qcloudsms</artifactId>
-			<version>1.0.2</version>
-		</dependency>
-
-		<!-- mongodb -->
-		<dependency>
-			<groupId>org.mongodb</groupId>
-			<artifactId>mongo-java-driver</artifactId>
-			<version>2.13.0-rc0</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.springframework.data</groupId>
-			<artifactId>spring-data-mongodb</artifactId>
-			<version>1.7.1.RELEASE</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.springframework.data</groupId>
-			<artifactId>spring-data-mongodb-cross-store</artifactId>
-			<version>1.7.1.RELEASE</version>
-		</dependency>
-
-		<dependency>
-			<groupId>org.springframework.data</groupId>
-			<artifactId>spring-data-mongodb-log4j</artifactId>
-			<version>1.7.1.RELEASE</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
-		<dependency>
-			<groupId>com.googlecode.json-simple</groupId>
-			<artifactId>json-simple</artifactId>
-			<version>1.1.1</version>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-core -->
-		<dependency>
-			<groupId>org.hamcrest</groupId>
-			<artifactId>hamcrest-core</artifactId>
-			<version>1.1</version>
-			<scope>test</scope>
-		</dependency>
-
-		<!-- https://mvnrepository.com/artifact/jdom/jdom -->
-		<dependency>
-			<groupId>jdom</groupId>
-			<artifactId>jdom</artifactId>
-			<version>1.1</version>
-		</dependency>
-
-		<dependency>
-			<groupId>com.alibaba</groupId>
-			<artifactId>dubbo</artifactId>
-			<version>${dubbo.version}</version>
-		</dependency>
-
-
-		<!-- zookeeper -->
-		<dependency>
-			<groupId>org.apache.zookeeper</groupId>
-			<artifactId>zookeeper</artifactId>
-			<version>${zookeeper.version}</version>
-			<exclusions>
-				<exclusion>
-					<groupId>org.slf4j</groupId>
-					<artifactId>slf4j-log4j12</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>log4j</groupId>
-					<artifactId>log4j</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>io.netty</groupId>
-					<artifactId>netty</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-
-		<dependency>
-			<groupId>org.apache.curator</groupId>
-			<artifactId>curator-framework</artifactId>
-			<version>${curator.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.curator</groupId>
-			<artifactId>curator-recipes</artifactId>
-			<version>${curator.version}</version>
-		</dependency>
-
-	</dependencies>
-	<build>
-		<finalName>fanli</finalName>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-compiler-plugin</artifactId>
-				<version>3.1</version>
-				<configuration>
-					<source>1.8</source>
-					<target>1.8</target>
-					<encoding>UTF-8</encoding>
-					<!-- 璺宠繃鍗曞厓娴嬭瘯 -->
-					<skip>true</skip>
-				</configuration>
-			</plugin>
-		</plugins>
-		<resources>
-			<resource>
-				<directory>src/main/resources</directory>
-			</resource>
-		</resources>
-	</build>
-</project>
+<?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.yeshi.fanli</groupId>
+	<artifactId>flq</artifactId>
+	<version>0.0.1-SNAPSHOT</version>
+	<packaging>pom</packaging>
+
+	<name>flq</name>
+	<url>http://maven.apache.org</url>
+
+	<modules>
+		<module>fanli-utils</module>
+		<module>fanli-common</module>
+		<module>fanli-common-config</module>
+		<module>fanli-facade-system</module>
+		<module>fanli-service-system</module>
+		<module>fanli-facade-goods</module>
+		<module>fanli-service-goods</module>
+    <module>fanli-facade-user</module>
+    <module>fanli-service-user</module>
+  </modules>
+
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<org.hibernate.version>4.1.2</org.hibernate.version>
+		<org.springframework-version>4.3.0.RELEASE</org.springframework-version>
+		<mybatis.version>3.4.1</mybatis.version>
+		<zookeeper.version>3.4.6</zookeeper.version>
+		<curator.version>2.8.0</curator.version>
+		<dubbo.version>2.6.4</dubbo.version>
+	</properties>
+
+	<dependencies>
+
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>4.11</version>
+			<scope>test</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>net.sf.ehcache</groupId>
+			<artifactId>ehcache-core</artifactId>
+			<version>2.6.11</version>
+		</dependency>
+
+		<dependency>
+			<groupId>net.sf.ehcache</groupId>
+			<artifactId>ehcache-web</artifactId>
+			<version>2.0.4</version>
+		</dependency>
+
+		<!-- spring start -->
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-context</artifactId>
+			<version>${org.springframework-version}</version><!--$NO-MVN-MAN-VER$ -->
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-webmvc</artifactId>
+			<version>${org.springframework-version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-orm</artifactId>
+			<version>${org.springframework-version}</version>
+			<type>jar</type>
+			<scope>compile</scope>
+		</dependency>
+
+
+		<dependency>
+			<groupId>org.quartz-scheduler</groupId>
+			<artifactId>quartz</artifactId>
+			<version>2.2.1</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>org.springframework</groupId>
+			<artifactId>spring-context-support</artifactId>
+			<version>${org.springframework-version}</version>
+		</dependency>
+
+		<!-- Spring AOP -->
+		<!-- https://mvnrepository.com/artifact/aspectj/aspectjrt -->
+		<dependency>
+			<groupId>aspectj</groupId>
+			<artifactId>aspectjrt</artifactId>
+			<version>1.5.3</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/aspectj/aspectjweaver -->
+		<dependency>
+			<groupId>aspectj</groupId>
+			<artifactId>aspectjweaver</artifactId>
+			<version>1.5.4</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/cglib/cglib-nodep -->
+		<dependency>
+			<groupId>cglib</groupId>
+			<artifactId>cglib-nodep</artifactId>
+			<version>3.2.4</version>
+		</dependency>
+
+
+		<!-- spring end -->
+		<!-- freemarker寮�濮� -->
+
+		<dependency>
+			<groupId>org.freemarker</groupId>
+			<artifactId>freemarker</artifactId>
+			<version>2.3.23</version>
+		</dependency>
+		<!-- freemarker缁撴潫 -->
+
+
+		<!-- JSP start -->
+
+		<dependency>
+			<groupId>javax.servlet</groupId>
+			<artifactId>servlet-api</artifactId>
+			<version>2.5</version>
+			<scope>provided</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>javax.servlet.jsp</groupId>
+			<artifactId>jsp-api</artifactId>
+			<version>2.2</version>
+			<scope>provided</scope>
+		</dependency>
+
+		<!-- jsp end -->
+		<dependency>
+			<groupId>cglib</groupId>
+			<artifactId>cglib</artifactId>
+			<version>2.2.2</version>
+		</dependency>
+		<dependency>
+			<groupId>mysql</groupId>
+			<artifactId>mysql-connector-java</artifactId>
+			<version>5.1.21</version>
+		</dependency>
+
+		<!-- hibernate -->
+		<!-- hibernate 4.3.0 start -->
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-core</artifactId>
+			<version>4.3.0.Final</version>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate.javax.persistence</groupId>
+			<artifactId>hibernate-jpa-2.1-api</artifactId>
+			<version>1.0.0.Final</version>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-ehcache</artifactId>
+			<version>4.3.0.Final</version>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-validator</artifactId>
+			<version>5.1.0.Alpha1</version>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate.common</groupId>
+			<artifactId>hibernate-commons-annotations</artifactId>
+			<version>4.0.4.Final</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-c3p0</artifactId>
+			<version>4.3.0.Final</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-proxool</artifactId>
+			<version>4.3.0.Final</version>
+		</dependency>
+
+		<!-- 涓轰簡璁〩ibernate浣跨敤浠g悊妯″紡锛岄渶瑕乯avassist -->
+		<dependency>
+			<groupId>org.javassist</groupId>
+			<artifactId>javassist</artifactId>
+			<version>3.18.1-GA</version>
+		</dependency>
+
+		<!-- hibernate 4.3.0 end -->
+		<dependency>
+			<groupId>jstl</groupId>
+			<artifactId>jstl</artifactId>
+			<version>1.2</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.commons</groupId>
+			<artifactId>commons-dbcp2</artifactId>
+			<version>2.0</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>org.apache.struts</groupId>
+			<artifactId>struts2-core</artifactId>
+			<version>2.3.14</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>antlr</groupId>
+			<artifactId>antlr</artifactId>
+			<version>2.7.7</version>
+		</dependency>
+		<dependency>
+			<groupId>dom4j</groupId>
+			<artifactId>dom4j</artifactId>
+			<version>1.6.1</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-collections</groupId>
+			<artifactId>commons-collections</artifactId>
+			<version>3.1</version>
+		</dependency>
+		<dependency>
+			<groupId>commons-dbcp</groupId>
+			<artifactId>commons-dbcp</artifactId>
+			<version>1.4</version>
+		</dependency>
+		<dependency>
+			<groupId>commons-pool</groupId>
+			<artifactId>commons-pool</artifactId>
+			<version>1.4</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-logging</groupId>
+			<artifactId>commons-logging</artifactId>
+			<version>1.1.1</version>
+		</dependency>
+
+		<dependency>
+			<groupId>javax.transaction</groupId>
+			<artifactId>jta</artifactId>
+			<version>1.1</version>
+		</dependency>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-api</artifactId>
+			<version>1.6.1</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>org.jboss.logging</groupId>
+			<artifactId>jboss-logging</artifactId>
+			<version>3.1.3.GA</version>
+		</dependency>
+		<dependency>
+			<groupId>org.jboss.spec.javax.annotation</groupId>
+			<artifactId>jboss-annotations-api_1.2_spec</artifactId>
+			<version>1.0.0.Final</version>
+		</dependency>
+
+		<!-- 甯哥敤宸ュ叿 -->
+
+		<dependency>
+			<groupId>net.sf.json-lib</groupId>
+			<artifactId>json-lib</artifactId>
+			<version>2.4</version>
+			<classifier>jdk15</classifier>
+		</dependency>
+
+		<dependency>
+			<groupId>org.jsoup</groupId>
+			<artifactId>jsoup</artifactId>
+			<version>1.9.2</version>
+		</dependency>
+
+		<dependency>
+			<groupId>com.google.code.gson</groupId>
+			<artifactId>gson</artifactId>
+			<version>2.7</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-httpclient</groupId>
+			<artifactId>commons-httpclient</artifactId>
+			<version>3.1</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
+		<dependency>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpclient</artifactId>
+			<version>4.4.1</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
+		<dependency>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpcore</artifactId>
+			<version>4.4.1</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+			<version>1.2.17</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
+		<dependency>
+			<groupId>javax.mail</groupId>
+			<artifactId>mail</artifactId>
+			<version>1.4.7</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/com.google.zxing/core -->
+		<dependency>
+			<groupId>com.google.zxing</groupId>
+			<artifactId>core</artifactId>
+			<version>3.3.0</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/com.google.zxing/javase -->
+		<dependency>
+			<groupId>com.google.zxing</groupId>
+			<artifactId>javase</artifactId>
+			<version>3.3.0</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl -->
+		<dependency>
+			<groupId>net.sourceforge.jexcelapi</groupId>
+			<artifactId>jxl</artifactId>
+			<version>2.6.12</version>
+		</dependency>
+		<!-- druid杩炴帴姹� -->
+		<dependency>
+			<groupId>com.alibaba</groupId>
+			<artifactId>druid</artifactId>
+			<version>1.1.10</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.poi</groupId>
+			<artifactId>poi-ooxml</artifactId>
+			<version>3.9</version>
+		</dependency>
+
+
+		<!-- mybatis鏍稿績鍖� -->
+		<dependency>
+			<groupId>org.mybatis</groupId>
+			<artifactId>mybatis</artifactId>
+			<version>${mybatis.version}</version>
+		</dependency>
+		<!-- mybatis/spring鍖� -->
+		<dependency>
+			<groupId>org.mybatis</groupId>
+			<artifactId>mybatis-spring</artifactId>
+			<version>1.3.0</version>
+		</dependency>
+
+
+		<!-- https://mvnrepository.com/artifact/com.github.jai-imageio/jai-imageio-core -->
+		<dependency>
+			<groupId>com.github.jai-imageio</groupId>
+			<artifactId>jai-imageio-core</artifactId>
+			<version>1.3.0</version>
+		</dependency>
+
+		<dependency>
+			<groupId>com.qcloud</groupId>
+			<artifactId>cos_api</artifactId>
+			<version>5.2.4</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-codec</groupId>
+			<artifactId>commons-codec</artifactId>
+			<version>1.10</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-fileupload</groupId>
+			<artifactId>commons-fileupload</artifactId>
+			<version>1.3.1</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<version>2.4</version>
+		</dependency>
+
+
+		<dependency>
+			<groupId>redis.clients</groupId>
+			<artifactId>jedis</artifactId>
+			<version>2.1.0</version>
+			<type>jar</type>
+			<scope>compile</scope>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-redis -->
+		<dependency>
+			<groupId>org.springframework.data</groupId>
+			<artifactId>spring-data-redis</artifactId>
+			<version>1.0.2.RELEASE</version>
+		</dependency>
+
+
+		<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
+		<dependency>
+			<groupId>com.alibaba</groupId>
+			<artifactId>fastjson</artifactId>
+			<version>1.2.47</version>
+		</dependency>
+
+		<!-- 鑵捐浜戠煭淇� -->
+		<dependency>
+			<groupId>com.github.qcloudsms</groupId>
+			<artifactId>qcloudsms</artifactId>
+			<version>1.0.2</version>
+		</dependency>
+
+		<!-- mongodb -->
+		<dependency>
+			<groupId>org.mongodb</groupId>
+			<artifactId>mongo-java-driver</artifactId>
+			<version>2.13.0-rc0</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework.data</groupId>
+			<artifactId>spring-data-mongodb</artifactId>
+			<version>1.7.1.RELEASE</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework.data</groupId>
+			<artifactId>spring-data-mongodb-cross-store</artifactId>
+			<version>1.7.1.RELEASE</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.springframework.data</groupId>
+			<artifactId>spring-data-mongodb-log4j</artifactId>
+			<version>1.7.1.RELEASE</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple -->
+		<dependency>
+			<groupId>com.googlecode.json-simple</groupId>
+			<artifactId>json-simple</artifactId>
+			<version>1.1.1</version>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-core -->
+		<dependency>
+			<groupId>org.hamcrest</groupId>
+			<artifactId>hamcrest-core</artifactId>
+			<version>1.1</version>
+			<scope>test</scope>
+		</dependency>
+
+		<!-- https://mvnrepository.com/artifact/jdom/jdom -->
+		<dependency>
+			<groupId>jdom</groupId>
+			<artifactId>jdom</artifactId>
+			<version>1.1</version>
+		</dependency>
+
+		<dependency>
+			<groupId>com.alibaba</groupId>
+			<artifactId>dubbo</artifactId>
+			<version>${dubbo.version}</version>
+		</dependency>
+
+
+		<!-- zookeeper -->
+		<dependency>
+			<groupId>org.apache.zookeeper</groupId>
+			<artifactId>zookeeper</artifactId>
+			<version>${zookeeper.version}</version>
+			<exclusions>
+				<exclusion>
+					<groupId>org.slf4j</groupId>
+					<artifactId>slf4j-log4j12</artifactId>
+				</exclusion>
+				<exclusion>
+					<groupId>log4j</groupId>
+					<artifactId>log4j</artifactId>
+				</exclusion>
+				<exclusion>
+					<groupId>io.netty</groupId>
+					<artifactId>netty</artifactId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.curator</groupId>
+			<artifactId>curator-framework</artifactId>
+			<version>${curator.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.curator</groupId>
+			<artifactId>curator-recipes</artifactId>
+			<version>${curator.version}</version>
+		</dependency>
+
+	</dependencies>
+	<build>
+		<finalName>fanli</finalName>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>3.1</version>
+				<configuration>
+					<source>1.8</source>
+					<target>1.8</target>
+					<encoding>UTF-8</encoding>
+					<!-- 璺宠繃鍗曞厓娴嬭瘯 -->
+					<skip>true</skip>
+				</configuration>
+			</plugin>
+		</plugins>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+			</resource>
+		</resources>
+	</build>
+</project>
\ No newline at end of file

--
Gitblit v1.8.0