feiyu02
2024-01-10 30a53b41f09d2eefd33513a409d472c2166ba1ea
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/BaseResPack.kt
@@ -14,12 +14,12 @@
            if (head is DataHead) {
                BaseResponse(true, head = head, data = res.second)
            } else {
                BaseResponse(true, data = res.second)
                BaseResponse(true, data = res)
            }
        } else {
            BaseResponse(true, data = res)
        }
    } catch (e: Exception) {
    } catch (e: IllegalStateException) {
        BaseResponse(false, message = e.message ?: "")
    }
}