...
 
Commits (6)
    https://gitcode.net/zlt2000/microservices-platform/-/commit/26a2d46f9dd5022498a41c9919a3efc40e3efb54 fix #I60LSY 2023-03-23T22:01:19+08:00 zlt2000 zltdiablo@163.com https://gitcode.net/zlt2000/microservices-platform/-/commit/a9cd6cff1c60bd30ecce3bff75818b9137b38825 update zlt-doc/sql/user-center.sql. 2023-03-23T22:05:27+08:00 zlt2000 zltdiablo@163.com sql执行失败 https://gitcode.net/zlt2000/microservices-platform/-/commit/94ba1119823fabd62dda23c9da8941f2ad548f94 add traceLog.html 2023-04-09T17:36:46+08:00 zlt2000 zltdiablo@163.com https://gitcode.net/zlt2000/microservices-platform/-/commit/a98182f24dead9ac8ad97edb751102e35564d5b7 Merge branch 'dev' 2023-04-09T17:40:28+08:00 zlt2000 zltdiablo@163.com https://gitcode.net/zlt2000/microservices-platform/-/commit/d1e7e9fd77226dc1ca03486777aa3d7b5bd9afe1 fix #I6SI4D 2023-04-09T17:48:11+08:00 zlt2000 zltdiablo@163.com https://gitcode.net/zlt2000/microservices-platform/-/commit/a74f24b8091aae713103fab3a997820dfd6804cc Merge branch 'dev' 2023-04-09T17:49:05+08:00 zlt2000 zltdiablo@163.com
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-config</artifactId> <artifactId>zlt-config</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-common-spring-boot-starter</artifactId> <artifactId>zlt-common-spring-boot-starter</artifactId>
......
...@@ -3,11 +3,13 @@ package com.central.generator; ...@@ -3,11 +3,13 @@ package com.central.generator;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
/** /**
* @author zlt * @author zlt
*/ */
@EnableDiscoveryClient @EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.central")
@SpringBootApplication @SpringBootApplication
public class CodeGeneratorApp { public class CodeGeneratorApp {
public static void main(String[] args) { public static void main(String[] args) {
......
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-config</artifactId> <artifactId>zlt-config</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-common-spring-boot-starter</artifactId> <artifactId>zlt-common-spring-boot-starter</artifactId>
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
<artifactId>zlt-config</artifactId> <artifactId>zlt-config</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-common-spring-boot-starter</artifactId> <artifactId>zlt-common-spring-boot-starter</artifactId>
......
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-config</artifactId> <artifactId>zlt-config</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-common-spring-boot-starter</artifactId> <artifactId>zlt-common-spring-boot-starter</artifactId>
......
...@@ -12,7 +12,6 @@ import com.central.common.annotation.LoginUser; ...@@ -12,7 +12,6 @@ import com.central.common.annotation.LoginUser;
import com.central.common.constant.CommonConstant; import com.central.common.constant.CommonConstant;
import com.central.common.model.*; import com.central.common.model.*;
import com.central.common.utils.ExcelUtil; import com.central.common.utils.ExcelUtil;
//import com.central.log.annotation.AuditLog;
import com.central.log.annotation.AuditLog; import com.central.log.annotation.AuditLog;
import com.central.search.client.service.IQueryService; import com.central.search.client.service.IQueryService;
import com.central.search.model.LogicDelDto; import com.central.search.model.LogicDelDto;
......
...@@ -10,10 +10,6 @@ ...@@ -10,10 +10,6 @@
<description>公共通用组件</description> <description>公共通用组件</description>
<packaging>jar</packaging> <packaging>jar</packaging>
<dependencies> <dependencies>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-extension</artifactId> <artifactId>mybatis-plus-extension</artifactId>
...@@ -97,5 +93,10 @@ ...@@ -97,5 +93,10 @@
<groupId>com.fasterxml.jackson.core</groupId> <groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId> <artifactId>jackson-core</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-config</artifactId> <artifactId>zlt-config</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-loadbalancer-spring-boot-starter</artifactId> <artifactId>zlt-loadbalancer-spring-boot-starter</artifactId>
......
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-config</artifactId> <artifactId>zlt-config</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.zlt</groupId>
<artifactId>zlt-log-spring-boot-starter</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.zlt</groupId> <groupId>com.zlt</groupId>
<artifactId>zlt-common-spring-boot-starter</artifactId> <artifactId>zlt-common-spring-boot-starter</artifactId>
......
<!-- 数据表格 -->
<table class="layui-table" id="trace-table" lay-filter="trace-table"></table>
<script>
layui.use(['config', 'admin', 'table', 'treetable'],function () {
let layer = layui.layer;
let treetable = layui.treetable;
let config = layui.config;
let admin = layui.admin;
let traceId = admin.getTempData('traceId');
// 渲染表格
let renderTable = function () {
layer.load(2);
treetable.render({
treeColIndex: 1,
treeSpid: '-1',
treeIdName: 'spanId',
treePidName: 'parentId',
elem: '#trace-table',
url: config.base_server + 'api-log/traceLog',
where: {
access_token: config.getToken().access_token,
queryStr: 'traceId:'+traceId,
sortCol: 'timestamp',
sortOrder: 'ASC'
},
page: false,
cols: [[
{type: 'numbers'},
{field: 'appName', sort: true, title: '应用名', width: 220},
{field: 'spanId', sort: false, title: 'spanId', width: 130},
{field: 'serverIp', sort: true, title: '服务ip', width: 150},
{field: 'serverPort', sort: true, title: '服务端口', width: 120}
]],
done: function() {
layer.closeAll('loading');
}
});
};
if (traceId) {
renderTable();
}
});
</script>
\ No newline at end of file