diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..281336c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,29 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Java template
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+.idea/
+*.iml
+**/target/
+
diff --git a/epdc-cloud-property/Dockerfile b/epdc-cloud-property/Dockerfile
new file mode 100644
index 0000000..fc459b9
--- /dev/null
+++ b/epdc-cloud-property/Dockerfile
@@ -0,0 +1,20 @@
+# 基础镜像
+FROM openjdk:8u242-jdk-buster
+# 作者
+MAINTAINER rongchao@elink-cn.com
+# 对应pom.xml文件中的dockerfile-maven-plugin插件JAR_FILE的值
+ARG JAR_FILE
+# 对应pom.xml文件中的dockerfile-maven-plugin插件JAR_NAME的值
+ARG JAR_NAME
+# 对应pom.xml文件中的dockerfile-maven-plugin插件SERVER_PORT的值
+ARG SERVER_PORT
+# 复制打包完成后的jar文件到/opt目录下
+ENV JAR_PATH /mnt/epdc/${JAR_NAME}.jar
+ADD ${JAR_FILE} $JAR_PATH
+# /data设为环境变量
+ENV DATAPATH /data
+# 挂载/data目录到主机
+VOLUME $DATAPATH
+# 启动容器时执行
+ENTRYPOINT java -jar $JAR_CONFIG $JAR_PATH
+EXPOSE ${SERVER_PORT}
diff --git a/epdc-cloud-property/pom.xml b/epdc-cloud-property/pom.xml
new file mode 100644
index 0000000..d3fe3cf
--- /dev/null
+++ b/epdc-cloud-property/pom.xml
@@ -0,0 +1,306 @@
+
+
+ * https://www.renren.io + *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.config;
+
+import com.elink.esua.epdc.commons.tools.config.ModuleConfig;
+import org.springframework.stereotype.Service;
+
+/**
+ * 模块配置信息-物业模块
+ *
+ * @author Mark sunlightcs@gmail.com
+ * @since 1.0.0
+ */
+@Service
+public class ModuleConfigImpl implements ModuleConfig {
+ @Override
+ public String getName() {
+ return "property";
+ }
+}
diff --git a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/config/ThreadConfig.java b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/config/ThreadConfig.java
new file mode 100644
index 0000000..589e6e9
--- /dev/null
+++ b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/config/ThreadConfig.java
@@ -0,0 +1,42 @@
+package com.elink.esua.epdc.config;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.task.TaskExecutor;
+import org.springframework.scheduling.annotation.EnableAsync;
+import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
+
+import java.util.concurrent.ThreadPoolExecutor;
+
+/**
+ * 线程池
+ *
+ * @author rongchao
+ * @Date 18-11-27
+ */
+@Configuration
+@EnableAsync
+public class ThreadConfig {
+
+ @Bean
+ public TaskExecutor taskExecutor() {
+ ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
+ // 设置核心线程数
+ executor.setCorePoolSize(5);
+ // 设置最大线程数
+ executor.setMaxPoolSize(10);
+ // 设置队列容量
+ executor.setQueueCapacity(20);
+ // 设置线程活跃时间(秒)
+ executor.setKeepAliveSeconds(60);
+ // 设置默认线程名称
+ executor.setThreadNamePrefix("esd-");
+ // 设置拒绝策略
+ executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
+ // 等待所有任务结束后再关闭线程池
+ executor.setWaitForTasksToCompleteOnShutdown(true);
+ executor.setAwaitTerminationSeconds(60);
+ executor.initialize();
+ return executor;
+ }
+}
diff --git a/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/epdc.gitkeep b/epdc-cloud-property/src/main/java/com/elink/esua/epdc/modules/epdc.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/application.yml b/epdc-cloud-property/src/main/resources/application.yml
new file mode 100644
index 0000000..d1f1a8d
--- /dev/null
+++ b/epdc-cloud-property/src/main/resources/application.yml
@@ -0,0 +1,123 @@
+server:
+ port: @server.port@
+ servlet:
+ context-path: /property
+
+spring:
+ main:
+ allow-bean-definition-overriding: true
+ application:
+ name: epdc-property-server
+ # 环境 dev|test|prod
+ profiles:
+ active: @spring.profiles.active@
+ messages:
+ encoding: UTF-8
+ basename: i18n/messages,i18n/messages_common
+ jackson:
+ time-zone: GMT+8
+ date-format: yyyy-MM-dd HH:mm:ss
+ redis:
+ database: @spring.redis.index@
+ host: @spring.redis.host@
+ timeout: 30s
+ port: @spring.redis.port@
+ password: @spring.redis.password@
+ cloud:
+ nacos:
+ discovery:
+ server-addr: @nacos.server-addr@
+ register-enabled: @nacos.register-enabled@
+ ip: @nacos.ip@
+ namespace: @nacos.namespace@
+ alibaba:
+ seata:
+ tx-service-group: epdc-property-project-server-fescar-service-group
+ datasource:
+ druid:
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: @spring.datasource.druid.url@
+ username: @spring.datasource.druid.username@
+ password: @spring.datasource.druid.password@
+
+feign:
+ hystrix:
+ enabled: true
+ httpclient:
+ enabled: true
+
+hystrix:
+ command:
+ default:
+ execution:
+ isolation:
+ thread:
+ timeoutInMilliseconds: 60000 #缺省为1000
+
+ribbon:
+ ReadTimeout: 300000
+ ConnectTimeout: 300000
+
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"
+ endpoint:
+ health:
+ show-details: ALWAYS
+
+mybatis-plus:
+ mapper-locations: classpath:/mapper/**/*.xml
+ #实体扫描,多个package用逗号或者分号分隔
+ typeAliasesPackage: com.elink.esua.epdc.modules.*.entity
+ global-config:
+ #数据库相关配置
+ db-config:
+ #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
+ id-type: UUID
+ #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
+ field-strategy: NOT_NULL
+ #驼峰下划线转换
+ column-underline: true
+ banner: false
+ #原生配置
+ configuration:
+ map-underscore-to-camel-case: true
+ cache-enabled: false
+ call-setters-on-nulls: true
+ jdbc-type-for-null: 'null'
+
+wx:
+ ma:
+ configs:
+ - appid: @wx.ma.appId@
+ secret: @wx.ma.secret@
+ token: #微信小程序消息服务器配置的token
+ aesKey: #微信小程序消息服务器配置的EncodingAESKey
+ msgDataFormat: JSON
+ - appid: @work.wx.ma.appId@
+ secret: @work.wx.ma.secret@
+ token: #微信小程序消息服务器配置的token
+ aesKey: #微信小程序消息服务器配置的EncodingAESKey
+ msgDataFormat: JSON
+ - appid: @analysis.wx.ma.appId@
+ secret: @analysis.wx.ma.secret@
+ token: #微信小程序消息服务器配置的token
+ aesKey: #微信小程序消息服务器配置的EncodingAESKey
+ msgDataFormat: JSON
+ appId:
+ # 普通居民端的appId
+ normal: @wx.ma.appId@
+ # 工作端的appId
+ work: @work.wx.ma.appId@
+ # 数据分析端的appId
+ analysis: @analysis.wx.ma.appId@
+
+rocketmq:
+ name-server: @rocketmq.name.server@
+ producer:
+ group: @rocketmq.producer.category.group@
+ consumer:
+ group: @rocketmq.consumer.group@
+ category-group: @rocketmq.consumer.category.group@
diff --git a/epdc-cloud-property/src/main/resources/i18n/messages.properties b/epdc-cloud-property/src/main/resources/i18n/messages.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/messages_en_US.properties b/epdc-cloud-property/src/main/resources/i18n/messages_en_US.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/messages_zh_CN.properties b/epdc-cloud-property/src/main/resources/i18n/messages_zh_CN.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/messages_zh_TW.properties b/epdc-cloud-property/src/main/resources/i18n/messages_zh_TW.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/validation.properties b/epdc-cloud-property/src/main/resources/i18n/validation.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/validation_en_US.properties b/epdc-cloud-property/src/main/resources/i18n/validation_en_US.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/validation_zh_CN.properties b/epdc-cloud-property/src/main/resources/i18n/validation_zh_CN.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/i18n/validation_zh_TW.properties b/epdc-cloud-property/src/main/resources/i18n/validation_zh_TW.properties
new file mode 100644
index 0000000..e69de29
diff --git a/epdc-cloud-property/src/main/resources/logback-spring.xml b/epdc-cloud-property/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..9d46c7a
--- /dev/null
+++ b/epdc-cloud-property/src/main/resources/logback-spring.xml
@@ -0,0 +1,162 @@
+
+