From 84569abda51ecf6c5549dec4cadee8d043422379 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 30 九月 2025 09:33:28 +0800 Subject: [PATCH] 2025.9.30 --- src/main/kotlin/com/flightfeather/grid/vo/BaseResponse.kt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/grid/vo/BaseResponse.kt b/src/main/kotlin/com/flightfeather/grid/vo/BaseResponse.kt index bdf116d..c415aea 100644 --- a/src/main/kotlin/com/flightfeather/grid/vo/BaseResponse.kt +++ b/src/main/kotlin/com/flightfeather/grid/vo/BaseResponse.kt @@ -1,5 +1,6 @@ package com.flightfeather.grid.vo +import com.google.gson.Gson import io.swagger.annotations.ApiModel import io.swagger.annotations.ApiModelProperty @@ -19,6 +20,10 @@ message = if (success) "璇锋眰鎴愬姛" else "璇锋眰澶辫触" } } + + override fun toString(): String { + return Gson().toJson(this) + } } data class DataHead( -- Gitblit v1.9.3