Commit fe8b97be by 丁伟峰

sentry修改

1 parent 479d5ad2
...@@ -32,7 +32,7 @@ public class OrderServiceApplication { ...@@ -32,7 +32,7 @@ public class OrderServiceApplication {
SpringApplication.run(OrderServiceApplication.class, args); SpringApplication.run(OrderServiceApplication.class, args);
// todo 配置化 // todo 配置化
Sentry.init(options -> { Sentry.init(options -> {
options.setDsn("http://85293a9310fc4a8187422a7a257fc1ba@sentry.1888w.cn/8"); options.setDsn("http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8");
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring. // Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production. // We recommend adjusting this value in production.
options.setTracesSampleRate(1.0); options.setTracesSampleRate(1.0);
......
...@@ -71,6 +71,7 @@ public class WorkbenchEngineersGanttRespDTO { ...@@ -71,6 +71,7 @@ public class WorkbenchEngineersGanttRespDTO {
/** /**
* 结束时间 * 结束时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date endTime; private Date endTime;
/** /**
* 鼠标悬停提示 * 鼠标悬停提示
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!