From c95f66f4b81e81df9432c0c6d306ad22e3f5e587 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期一, 02 十二月 2024 11:41:09 +0800
Subject: [PATCH] socket以及后台任务状态实时刷新
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/BaseResponse.kt | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/BaseResponse.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/BaseResponse.kt
index bc876f8..b0f1806 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/BaseResponse.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/BaseResponse.kt
@@ -18,15 +18,15 @@
var message: String = "",
val head: DataHead? = null,
@ApiModelProperty("璇锋眰杩斿洖鏁版嵁")
- val data: T? = null
-){
- init {
- if (message.isBlank()) {
- message = if (success) {
- "璇锋眰鎴愬姛"
- } else {
- "璇锋眰澶辫触"
- }
- }
+ val data: T? = null,
+) {
+ init {
+ if (message.isBlank()) {
+ message = if (success) {
+ "璇锋眰鎴愬姛"
+ } else {
+ "璇锋眰澶辫触"
+ }
}
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3