From 881957adc051ee63bcdc98ebcb0b04a5e1cf802a Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期一, 21 八月 2023 15:17:47 +0800 Subject: [PATCH] okhttp 连接后close --- src/main/java/com/zy/core/model/Task.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/core/model/Task.java b/src/main/java/com/zy/core/model/Task.java index 417a0d0..c3cf784 100644 --- a/src/main/java/com/zy/core/model/Task.java +++ b/src/main/java/com/zy/core/model/Task.java @@ -8,6 +8,15 @@ @Data public class Task { - private int id; + private Integer step; + private Object data; + + public Task() { + } + + public Task(Integer step, Object data) { + this.step = step; + this.data = data; + } } -- Gitblit v1.9.1