diff --git a/pom.xml b/pom.xml
index d32e7aa..881e513 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,7 +34,6 @@
8
8
UTF-8
- 3.5.1
@@ -53,4 +52,87 @@
+
+
+
+ com.tiesheng
+ tiesheng-db-migration
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-login
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-web
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-util
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-platform
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-message
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-encrypt
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-annotation
+ ${version}
+
+
+
+ com.tiesheng
+ tiesheng-poi
+ ${version}
+
+
+
+ com.alibaba
+ easyexcel
+ 3.1.4
+
+
+
+ com.aliyun
+ tea-openapi
+ 0.2.8
+
+
+ com.aliyun
+ dysmsapi20170525
+ 2.0.23
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.5.1
+
+
+
+
+
+
diff --git a/tiesheng-ademo/pom.xml b/tiesheng-ademo/pom.xml
index 379bcc1..fffc8aa 100644
--- a/tiesheng-ademo/pom.xml
+++ b/tiesheng-ademo/pom.xml
@@ -21,7 +21,6 @@
com.tiesheng
tiesheng-web
- 0.0.8
diff --git a/tiesheng-ademo/src/main/java/com/tiesheng/demo/controller/TestController.java b/tiesheng-ademo/src/main/java/com/tiesheng/demo/controller/TestController.java
index f2f5d98..49e62a3 100644
--- a/tiesheng-ademo/src/main/java/com/tiesheng/demo/controller/TestController.java
+++ b/tiesheng-ademo/src/main/java/com/tiesheng/demo/controller/TestController.java
@@ -4,13 +4,17 @@ import cn.hutool.json.JSONUtil;
import com.tiesheng.annotation.token.TokenIgnore;
import com.tiesheng.message.config.aliyun.AliyunSmsConfig;
import com.tiesheng.message.pojos.MessageReqResp;
+import com.tiesheng.poi.write.PoiWriteBase;
import com.tiesheng.util.config.GlobalConfig;
import com.tiesheng.util.pojos.ApiResp;
+import com.tiesheng.util.pojos.FileUploadPath;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletResponse;
+import java.util.ArrayList;
+import java.util.List;
/**
* @author hao
@@ -45,4 +49,21 @@ public class TestController {
return ApiResp.respOK(reqResp);
}
+
+ @RequestMapping("/export")
+ @TokenIgnore
+ public ApiResp export() {
+
+ List list = new ArrayList<>();
+ list.add("11111");
+ list.add("22222");
+ list.add("33333");
+
+ FileUploadPath fileUploadPath = FileUploadPath.random();
+
+ PoiWriteBase.export(list, fileUploadPath.getAbsolutePath(), "hahah");
+
+ return ApiResp.respOK("");
+ }
+
}
diff --git a/tiesheng-db-migration/pom.xml b/tiesheng-db-migration/pom.xml
index 7e9787b..471a252 100644
--- a/tiesheng-db-migration/pom.xml
+++ b/tiesheng-db-migration/pom.xml
@@ -21,7 +21,6 @@
com.tiesheng
tiesheng-util
- ${project.parent.version}
diff --git a/tiesheng-encrypt/pom.xml b/tiesheng-encrypt/pom.xml
index f2012eb..1bc7099 100644
--- a/tiesheng-encrypt/pom.xml
+++ b/tiesheng-encrypt/pom.xml
@@ -33,13 +33,11 @@
com.tiesheng
tiesheng-util
- ${project.parent.version}
com.tiesheng
tiesheng-annotation
- ${project.parent.version}
diff --git a/tiesheng-login/pom.xml b/tiesheng-login/pom.xml
index bb835a7..e365a96 100644
--- a/tiesheng-login/pom.xml
+++ b/tiesheng-login/pom.xml
@@ -29,13 +29,11 @@
com.tiesheng
tiesheng-annotation
- ${project.parent.version}
com.tiesheng
tiesheng-platform
- ${project.parent.version}
diff --git a/tiesheng-message/pom.xml b/tiesheng-message/pom.xml
index 542cd9e..d211528 100644
--- a/tiesheng-message/pom.xml
+++ b/tiesheng-message/pom.xml
@@ -22,20 +22,17 @@
com.tiesheng
tiesheng-platform
- ${project.parent.version}
com.aliyun
tea-openapi
- 0.2.8
compile
com.aliyun
dysmsapi20170525
- 2.0.23
compile
diff --git a/tiesheng-platform/pom.xml b/tiesheng-platform/pom.xml
index 9cb50f4..ba8c93d 100644
--- a/tiesheng-platform/pom.xml
+++ b/tiesheng-platform/pom.xml
@@ -21,7 +21,6 @@
com.tiesheng
tiesheng-util
- ${project.parent.version}
diff --git a/tiesheng-poi/pom.xml b/tiesheng-poi/pom.xml
index 31450dd..76a6540 100644
--- a/tiesheng-poi/pom.xml
+++ b/tiesheng-poi/pom.xml
@@ -21,13 +21,12 @@
com.alibaba
easyexcel
- 3.1.3
+ compile
com.tiesheng
tiesheng-util
- ${project.parent.version}
diff --git a/tiesheng-util/pom.xml b/tiesheng-util/pom.xml
index 9c7580a..a01a241 100644
--- a/tiesheng-util/pom.xml
+++ b/tiesheng-util/pom.xml
@@ -28,14 +28,14 @@
cn.hutool
hutool-all
- 5.8.10
+ 5.8.11
com.alibaba
fastjson
- 1.2.47
+ 1.2.78
diff --git a/tiesheng-web/pom.xml b/tiesheng-web/pom.xml
index 621d9ca..5dbdeeb 100644
--- a/tiesheng-web/pom.xml
+++ b/tiesheng-web/pom.xml
@@ -55,43 +55,36 @@
com.baomidou
mybatis-plus-boot-starter
- ${mybatis-plus.version}
com.tiesheng
tiesheng-util
- ${project.parent.version}
com.tiesheng
tiesheng-db-migration
- ${project.parent.version}
com.tiesheng
tiesheng-poi
- ${project.parent.version}
com.tiesheng
tiesheng-annotation
- ${project.parent.version}
com.tiesheng
tiesheng-login
- ${project.parent.version}
com.tiesheng
tiesheng-message
- ${project.parent.version}