Merge remote-tracking branch 'origin/master'

# Conflicts:
#	springboot-ademo/src/main/java/com/tiesheng/demo/controller/TestController.java
This commit is contained in:
曾文豪
2024-09-18 14:53:10 +08:00
13 changed files with 26 additions and 27 deletions

18
pom.xml
View File

@@ -6,7 +6,7 @@
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
<packaging>pom</packaging>
<name>springboot-parent</name>
<description>杭州铁晟科技有限公司基础依赖</description>
@@ -58,49 +58,49 @@
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-database</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-login</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-web</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-util</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-platform</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-message</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-role</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-annotation</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</dependency>
<dependency>

View File

@@ -6,11 +6,11 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-ademo</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>

View File

@@ -84,12 +84,8 @@ public class TestController {
String jsonString = JSON.toJSONString(jsonTest);
LogFactory.get().info(jsonString);
// String data = "0moeVHD0879FOJzCORIxc3SDFIsgzDBCmrZSCORLXPxMUtruvUifSME7xanfM3cJd6qgYRN7yIhL7Jc29PTy9DIhBMzEV3VYcN4r+WYw7VDHMIVJ9nprKqekHgujJtdHiUNKdYYm7yDhlb8cZE4Gam5/xTV20BZk92EV08/4S9A5txZCj2ETJ9/51WEeoC2V1Z3tVFdbOx2ktbygeOce3BUD5/q9UGRf59xshDe6Yow=";
String data = "C9g1Kr5UttpMdFWOvAvVTyUMjpNuCJglVv5mkF0ZexkjUPE9XJAFtJegV5x3bAJnN/8Coe18s/eQ+PhwN1cRMCChiOjbjOD4raqlTVjwCDzV/d7BD2b1nVI3J38tDBE26GDQ158MY3d7Q554wTahy8uvNoo+tFyVpMVw0B6GPW2IEF8KYU3u62eur+x2FhoSuPkPAyNpcwAK8hrC3m684lBc8+l3+zs7re0wSd0ypf7hD5QbEE+NbkBMJAOv78CXmhgTQ6zXerKmPEIw+gvviODoHbcsqUODLnCVyny0xTNzAHeNciYZgKarNu5aherI";
String decrypt = encryptConfig.decrypt(data);
LogFactory.get().info(decrypt);
String s = OkHttpUtil.get("http://toolbox.tieshengkeji.com/test/login/23232/3232");
LogFactory.get().info(s);
// ArrayList<String> strings = CollUtil.newArrayList("11111", "22222");
// coreLogService.addProcess("fdfd", strings, new ProcessImportConsumer<String>() {

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-annotation</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-database</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-login</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-message</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-platform</artifactId>

View File

@@ -246,7 +246,7 @@ public class PlatformDingConfig {
JSONObject object = new JSONObject();
object.put("dept_id", deptId);
object.put("cursor", cursor);
object.put("size", 100);
object.put("size", 200);
return doRequest(service, "https://oapi.dingtalk.com/topapi/v2/user/list",
object, new TypeReference<DingResponse<DingUserListVo>>() {

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-role</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-util</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>2.0.4</version>
<version>2.0.5</version>
</parent>
<artifactId>springboot-web</artifactId>

View File

@@ -14,7 +14,7 @@ import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
@Component
public class LogApiOkHttpInterceptor implements Interceptor {
public class OkHttpLogInterceptor implements Interceptor {
@Resource
CoreLogApiMapper coreLogApiMapper;
@@ -52,6 +52,9 @@ public class LogApiOkHttpInterceptor implements Interceptor {
response = new Response.Builder()
.request(request)
.protocol(Protocol.HTTP_1_1)
.code(logApi.getResult())
.message(e.getMessage())
.body(OkHttpUtil.ofJsonResponse(logApi.getRespBody()))
.build();
}