diff --git a/esua-epdc/epdc-module/epdc-content-security/db/mysql.sql b/esua-epdc/epdc-module/epdc-content-security/db/mysql.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/esua-epdc/epdc-module/epdc-content-security/db/oracle.sql b/esua-epdc/epdc-module/epdc-content-security/db/oracle.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/esua-epdc/epdc-module/epdc-content-security/db/postgresql.sql b/esua-epdc/epdc-module/epdc-content-security/db/postgresql.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/esua-epdc/epdc-module/epdc-content-security/db/sqlserver.sql b/esua-epdc/epdc-module/epdc-content-security/db/sqlserver.sql
new file mode 100644
index 000000000..e69de29bb
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/pom.xml b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/pom.xml
new file mode 100644
index 000000000..c60833721
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/pom.xml
@@ -0,0 +1,27 @@
+
+
+ 4.0.0
+
+
+ com.esua.epdc
+ epdc-demo
+ 1.0.0
+
+
+ epdc-content-security-client
+ jar
+
+
+
+ com.esua.epdc
+ epdc-commons-tools
+ 1.0.0
+
+
+
+
+ ${project.artifactId}
+
+
+
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/dto/DemoDto.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/dto/DemoDto.java
new file mode 100644
index 000000000..8d92d9963
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/dto/DemoDto.java
@@ -0,0 +1,37 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.dto;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+/**
+ * 用户
+ *
+ * @author Mark sunlightcs@gmail.com
+ */
+@Data
+public class DemoDto implements Serializable {
+
+ private static final long serialVersionUID = -8056876497668990939L;
+
+ /**
+ * 用户ID
+ */
+ private Long id;
+ /**
+ * 用户名
+ */
+ private String name;
+ /**
+ * 手机号
+ */
+ private int age;
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/feign/DemoFeignClient.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/feign/DemoFeignClient.java
new file mode 100644
index 000000000..9e8089ec9
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/feign/DemoFeignClient.java
@@ -0,0 +1,30 @@
+package com.elink.esua.epdc.feign;
+
+import com.elink.esua.epdc.commons.tools.constant.ServiceConstant;
+import com.elink.esua.epdc.commons.tools.utils.Result;
+import com.elink.esua.epdc.dto.DemoDto;
+import com.elink.esua.epdc.feign.fallback.DemoFeignClientFallback;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+
+import java.util.List;
+
+/**
+ * @author yujintao
+ * @email yujintao@elink-cn.com
+ * @date 2019/8/23 9:59
+ */
+@FeignClient(name = ServiceConstant.EPDC_DEMO_SERVER, fallback = DemoFeignClientFallback.class, contextId = "DemoFeignClient")
+public interface DemoFeignClient {
+
+ /**
+ * 查询全部
+ *
+ * @param
+ * @return com.elink.esua.epdc.commons.tools.utils.Result>
+ * @author yujintao
+ * @date 2019/8/23 10:07
+ */
+ @GetMapping("demo/demo/list")
+ Result> listDemo();
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/feign/fallback/DemoFeignClientFallback.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/feign/fallback/DemoFeignClientFallback.java
new file mode 100644
index 000000000..5ec09ff8f
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-client/src/main/java/com/elink/esua/epdc/feign/fallback/DemoFeignClientFallback.java
@@ -0,0 +1,23 @@
+package com.elink.esua.epdc.feign.fallback;
+
+import com.elink.esua.epdc.commons.tools.utils.Result;
+import com.elink.esua.epdc.dto.DemoDto;
+import com.elink.esua.epdc.feign.DemoFeignClient;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+
+/**
+ *
+ * @author yujintao
+ * @email yujintao@elink-cn.com
+ * @date 2019/5/23 10:00
+ */
+@Component
+public class DemoFeignClientFallback implements DemoFeignClient {
+
+ @Override
+ public Result> listDemo() {
+ return new Result().error("fail");
+ }
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/Dockerfile b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/Dockerfile
new file mode 100644
index 000000000..fc459b9c2
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/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/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/pom.xml b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/pom.xml
new file mode 100644
index 000000000..6a2258775
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/pom.xml
@@ -0,0 +1,266 @@
+
+
+
+ epdc-content-security
+ com.esua.epdc
+ 1.0.0
+
+ 4.0.0
+
+ epdc-content-security-server
+ jar
+
+
+
+ com.esua.epdc
+ epdc-content-security-client
+ 1.0.0
+
+
+ com.esua.epdc
+ epdc-commons-tools
+ 1.0.0
+
+
+ com.esua.epdc
+ epdc-commons-mybatis
+ 1.0.0
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+ org.springframework
+ spring-context-support
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+ de.codecentric
+ spring-boot-admin-starter-client
+ ${spring.boot.admin.version}
+
+
+
+ io.github.openfeign
+ feign-httpclient
+ 10.3.0
+
+
+ com.esua.epdc
+ epdc-commons-tools-wx-ma
+ ${project.version}
+
+
+
+
+ com.esua.epdc
+ epdc-commons-api-version-control
+ ${project.version}
+
+
+
+ org.apache.rocketmq
+ rocketmq-spring-boot-starter
+ 2.0.3
+
+
+
+
+ ${project.artifactId}
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ true
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
+
+ com.spotify
+ dockerfile-maven-plugin
+
+
+
+ ${project.basedir}/src/main/java
+
+
+
+ true
+ ${basedir}/src/main/resources
+
+ **/application*.yml
+ **/*.properties
+ logback-spring.xml
+ registry.conf
+
+
+
+ ${basedir}/src/main/resources
+
+ **/application*.yml
+ **/*.properties
+ logback-spring.xml
+ registry.conf
+
+
+
+
+
+
+
+
+ dev
+
+ true
+
+
+ dev
+ dev
+
+ 9088
+
+ 2
+ 47.104.224.45
+ 6379
+ elink@888
+
+
+
+
+ epdc
+ elink833066
+
+ false
+ 47.104.224.45:8848
+
+ 6a3577b4-7b79-43f6-aebb-9c3f31263f6a
+
+
+ wxdd8530c5f4926766
+ 5bf4fb813145431b3493a10aa7e041e9
+
+ wx29b074840ef4bfd9
+ 4adb1afccc69f205cdf5b521d74e2aca
+
+ wx9b6102a8ee5add65
+ 394f47d4e08fc0fd629231d3f68a34dc
+
+ 47.104.85.99:9876;114.215.125.123:9876
+ organizationGroup
+ categoryGroup
+ categoryGroup
+
+
+
+
+ test
+
+ test
+ test
+
+ 9088
+
+ 2
+ 118.190.232.100
+ 9603
+ epdc!redis@master1405
+
+
+
+
+ epdc
+ elink833066
+
+ true
+ 47.104.224.45:8848
+ 118.190.232.100
+ a746dde3-7a13-4521-b986-7369b0b7c269
+
+
+
+
+
+
+ wx5d3e97461d248397
+ bfed51b731e53db9affb9e6131e7ae12
+
+ wx9f20a46906ab2c3e
+ dc13065f79429979d9f687d249eb5c4e
+
+ wx9b6102a8ee5add65
+ 394f47d4e08fc0fd629231d3f68a34dc
+
+ 47.104.85.99:9876;114.215.125.123:9876
+ organizationGroup
+ categoryGroup
+ categoryGroup
+
+
+
+
+ prod
+
+ prod
+ prod
+
+ 9088
+
+
+ 0
+ 172.16.0.54
+ 6379
+ Elink833066
+
+
+
+
+ epdc
+ Elink@833066
+
+ true
+ 172.16.0.52:8848
+
+
+
+
+ wxdd8530c5f4926766
+ 5bf4fb813145431b3493a10aa7e041e9
+
+
+
+
+ wx9f20a46906ab2c3e
+ dc13065f79429979d9f687d249eb5c4e
+
+ wx9b6102a8ee5add65
+ 394f47d4e08fc0fd629231d3f68a34dc
+
+ 172.16.0.52:9876;172.16.0.54:9876
+ organizationGroup
+ categoryGroup
+ categoryGroup
+
+
+
+
+
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/ContentSecurityApplication.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/ContentSecurityApplication.java
new file mode 100644
index 000000000..5512ce0a5
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/ContentSecurityApplication.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+import org.springframework.cloud.openfeign.EnableFeignClients;
+
+/**
+ * 模块
+ *
+ * @author Mark sunlightcs@gmail.com
+ * @since 1.0.0
+ */
+@SpringBootApplication
+@EnableDiscoveryClient
+@EnableFeignClients
+public class ContentSecurityApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(ContentSecurityApplication.class, args);
+ }
+
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/config/ModuleConfigImpl.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/config/ModuleConfigImpl.java
new file mode 100644
index 000000000..299fc4ca0
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/config/ModuleConfigImpl.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * 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 "demo";
+ }
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/controller/DemoController.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/controller/DemoController.java
new file mode 100644
index 000000000..9dc54bfdb
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/controller/DemoController.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.controller;
+
+import com.elink.esua.epdc.commons.tools.utils.Result;
+import com.elink.esua.epdc.dto.DemoDto;
+import com.elink.esua.epdc.service.DemoService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+
+/**
+ * 测试接口
+ *
+ * @author Mark sunlightcs@gmail.com
+ */
+@RestController
+@RequestMapping("demo")
+public class DemoController {
+
+ @Autowired
+ private DemoService demoService;
+
+ /**
+ * 忽略Token验证测试
+ *
+ * @return
+ */
+ @GetMapping("seata")
+ public Result seata(String name, int age) {
+ return demoService.createDemo(name, age);
+ }
+
+ @GetMapping("list")
+ public Result> listDemo(){
+ return demoService.demoService();
+ }
+
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/dao/DemoDao.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/dao/DemoDao.java
new file mode 100644
index 000000000..ea50563e7
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/dao/DemoDao.java
@@ -0,0 +1,22 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.dao;
+
+import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
+import com.elink.esua.epdc.entity.DemoEntity;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * 用户
+ *
+ * @author Mark sunlightcs@gmail.com
+ */
+@Mapper
+public interface DemoDao extends BaseDao {
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/entity/DemoEntity.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/entity/DemoEntity.java
new file mode 100644
index 000000000..f5a4c074b
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/entity/DemoEntity.java
@@ -0,0 +1,40 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+
+import java.io.Serializable;
+
+/**
+ * 用户
+ *
+ * @author Mark sunlightcs@gmail.com
+ */
+@Data
+@TableName("demo")
+public class DemoEntity implements Serializable {
+ private static final long serialVersionUID = 8109944892257584088L;
+
+ /**
+ * 用户ID
+ */
+ @TableId
+ private String id;
+ /**
+ * 用户名
+ */
+ private String name;
+ /**
+ * 手机号
+ */
+ private int age;
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/entity/TransforDemoEntity.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/entity/TransforDemoEntity.java
new file mode 100644
index 000000000..5d4b67809
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/entity/TransforDemoEntity.java
@@ -0,0 +1,18 @@
+package com.elink.esua.epdc.entity;
+import lombok.Data;
+
+/**
+ *
+ * @author yujintao
+ * @email yujintao@elink-cn.com
+ * @date 2019/9/2 13:54
+ */
+@Data
+public class TransforDemoEntity {
+
+ private Long demoId;
+
+ private String demoName;
+
+ private int demoAge;
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/exception/ModuleErrorCode.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/exception/ModuleErrorCode.java
new file mode 100644
index 000000000..4f56d60cd
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/exception/ModuleErrorCode.java
@@ -0,0 +1,24 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.exception;
+
+import com.elink.esua.epdc.commons.tools.exception.ErrorCode;
+
+/**
+ * 模块错误编码,由9位数字组成,前6位为模块编码,后3位为业务编码
+ *
+ * 如:100001001(100001代表模块,001代表业务代码)
+ *
+ *
+ * @author Mark sunlightcs@gmail.com
+ * @since 1.0.0
+ */
+public interface ModuleErrorCode extends ErrorCode {
+
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/service/DemoService.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/service/DemoService.java
new file mode 100644
index 000000000..bce890ddd
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/service/DemoService.java
@@ -0,0 +1,36 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.service;
+
+import com.elink.esua.epdc.commons.mybatis.service.BaseService;
+import com.elink.esua.epdc.commons.tools.utils.Result;
+import com.elink.esua.epdc.dto.DemoDto;
+import com.elink.esua.epdc.entity.DemoEntity;
+
+import java.util.List;
+
+/**
+ * 用户
+ *
+ * @author Mark sunlightcs@gmail.com
+ */
+public interface DemoService extends BaseService {
+
+ Result createDemo(String name, int age);
+
+ /**
+ * 查询全部
+ *
+ * @param
+ * @return com.elink.esua.epdc.commons.tools.utils.Result>
+ * @author yujintao
+ * @date 2019/8/23 10:05
+ */
+ Result> demoService();
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/service/impl/DemoServiceImpl.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/service/impl/DemoServiceImpl.java
new file mode 100644
index 000000000..1546e86ce
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/service/impl/DemoServiceImpl.java
@@ -0,0 +1,43 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
+import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
+import com.elink.esua.epdc.commons.tools.utils.Result;
+import com.elink.esua.epdc.dao.DemoDao;
+import com.elink.esua.epdc.dto.DemoDto;
+import com.elink.esua.epdc.entity.DemoEntity;
+import com.elink.esua.epdc.service.DemoService;
+import io.seata.spring.annotation.GlobalTransactional;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.List;
+
+@Service
+public class DemoServiceImpl extends BaseServiceImpl implements DemoService {
+
+ @Override
+ public Result createDemo(String name, int age) {
+ DemoEntity entity = new DemoEntity();
+ entity.setName(name);
+ entity.setAge(age);
+ baseDao.insert(entity);
+ return new Result().ok("demo执行完毕");
+ }
+
+ @Override
+ public Result> demoService() {
+ QueryWrapper demoEntityWrapper = new QueryWrapper<>();
+ List entityList = baseDao.selectList(demoEntityWrapper);
+ return new Result().ok(ConvertUtils.sourceToTarget(entityList, DemoDto.class));
+ }
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/utils/ModuleConstant.java b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/utils/ModuleConstant.java
new file mode 100644
index 000000000..03d407f87
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/java/com/elink/esua/epdc/utils/ModuleConstant.java
@@ -0,0 +1,21 @@
+/**
+ * Copyright (c) 2018 人人开源 All rights reserved.
+ *
+ * https://www.renren.io
+ *
+ * 版权所有,侵权必究!
+ */
+
+package com.elink.esua.epdc.utils;
+
+import com.elink.esua.epdc.commons.tools.constant.Constant;
+
+/**
+ * 模块常量
+ *
+ * @author Mark sunlightcs@gmail.com
+ * @since 1.1.0
+ */
+public interface ModuleConstant extends Constant {
+
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/application.yml b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/application.yml
new file mode 100644
index 000000000..93931aa69
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/application.yml
@@ -0,0 +1,143 @@
+#server:
+# port: @server.port@
+# servlet:
+# context-path: /events
+#
+#nacos:
+# config:
+# server-addr: @nacos.server-addr@
+# type: YAML
+# namespace: @nacos.config.namespace@
+# group: @nacos.config.group@
+# dataId: epdc-events-server
+# bootstrap:
+# enable: true
+# log:
+# enable: @nacos.config.bootstrap.log.enable@
+#
+#spring:
+# application:
+# name: epdc-events-server
+server:
+ port: @server.port@
+ servlet:
+ context-path: /contentSecurity
+
+spring:
+ main:
+ allow-bean-definition-overriding: true
+ application:
+ name: epdc-content-security-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-content-security-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/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/db/migration/V1_1__INIT_DATABASE.sql b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/db/migration/V1_1__INIT_DATABASE.sql
new file mode 100644
index 000000000..98c3f580c
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/db/migration/V1_1__INIT_DATABASE.sql
@@ -0,0 +1,12 @@
+CREATE TABLE person (
+ id int(11) NOT NULL AUTO_INCREMENT,
+ first varchar(100) NOT NULL,
+ last varchar(100) NOT NULL,
+ dateofbirth DATE DEFAULT null,
+ placeofbirth varchar(100) not null,
+ PRIMARY KEY (id)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+insert into person (first,last,dateofbirth,placeofbirth) values('Dursun','KOC', STR_TO_DATE('02/10/1982', '%m/%d/%Y'),'Erzincan');
+
+insert into person (first,last,dateofbirth,placeofbirth) values('Durseeun','KeeOC', STR_TO_DATE('05/10/1982', '%m/%d/%Y'),'Erzeeincan');
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages.properties
new file mode 100644
index 000000000..a7091dbb4
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages.properties
@@ -0,0 +1 @@
+#Default
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_en_US.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_en_US.properties
new file mode 100644
index 000000000..9e895e428
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_en_US.properties
@@ -0,0 +1 @@
+#English
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_zh_CN.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_zh_CN.properties
new file mode 100644
index 000000000..b21fd22ec
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_zh_CN.properties
@@ -0,0 +1 @@
+#\u7B80\u4F53\u4E2D\u6587
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_zh_TW.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_zh_TW.properties
new file mode 100644
index 000000000..4433dba45
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/messages_zh_TW.properties
@@ -0,0 +1 @@
+#\u7E41\u4F53\u4E2D\u6587
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation.properties
new file mode 100644
index 000000000..56ca909c4
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation.properties
@@ -0,0 +1 @@
+#Default
\ No newline at end of file
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_en_US.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_en_US.properties
new file mode 100644
index 000000000..9e895e428
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_en_US.properties
@@ -0,0 +1 @@
+#English
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_zh_CN.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_zh_CN.properties
new file mode 100644
index 000000000..b21fd22ec
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_zh_CN.properties
@@ -0,0 +1 @@
+#\u7B80\u4F53\u4E2D\u6587
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_zh_TW.properties b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_zh_TW.properties
new file mode 100644
index 000000000..4433dba45
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/i18n/validation_zh_TW.properties
@@ -0,0 +1 @@
+#\u7E41\u4F53\u4E2D\u6587
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/logback-spring.xml b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/logback-spring.xml
new file mode 100644
index 000000000..3038f1b13
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/logback-spring.xml
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ debug
+
+
+ ${CONSOLE_LOG_PATTERN}
+
+ UTF-8
+
+
+
+
+
+
+
+
+ ${log.path}/debug.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+
+ ${log.path}/debug-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ debug
+ ACCEPT
+ DENY
+
+
+
+
+
+
+ ${log.path}/info.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+
+ ${log.path}/info-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ info
+ ACCEPT
+ DENY
+
+
+
+
+
+
+ ${log.path}/warn.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+ ${log.path}/warn-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ warn
+ ACCEPT
+ DENY
+
+
+
+
+
+
+ ${log.path}/error.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+ ${log.path}/error-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ ERROR
+ ACCEPT
+ DENY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/registry.conf b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/registry.conf
new file mode 100644
index 000000000..b5f089840
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/epdc-content-security-server/src/main/resources/registry.conf
@@ -0,0 +1,21 @@
+registry {
+ # file 、nacos 、eureka、redis、zk、consul、etcd3、sofa
+ type = "nacos"
+
+ nacos {
+ serverAddr = "@nacos.server-addr@"
+ namespace = "@nacos.namespace@"
+ cluster = "default"
+ }
+}
+
+config {
+ # file、nacos 、apollo、zk、consul、etcd3
+ type = "nacos"
+
+ nacos {
+ serverAddr = "@nacos.server-addr@"
+ namespace = "@nacos.namespace@"
+ cluster = "default"
+ }
+}
diff --git a/esua-epdc/epdc-module/epdc-content-security/pom.xml b/esua-epdc/epdc-module/epdc-content-security/pom.xml
new file mode 100644
index 000000000..8f594d7ae
--- /dev/null
+++ b/esua-epdc/epdc-module/epdc-content-security/pom.xml
@@ -0,0 +1,21 @@
+
+
+ 4.0.0
+
+
+ com.esua.epdc
+ epdc-module
+ 1.0.0
+
+
+ com.esua.epdc
+ epdc-content-security
+ pom
+
+
+ epdc-content-security-client
+ epdc-content-security-server
+
+
+