feiyu02
2024-04-25 0392c333ed3d987cb2ab3dac4e1a972cff405f21
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/BaseResPack.kt
@@ -1,5 +1,6 @@
package cn.flightfeather.supervision.lightshare.web
import cn.flightfeather.supervision.common.exception.BizException
import cn.flightfeather.supervision.lightshare.vo.BaseResponse
import cn.flightfeather.supervision.lightshare.vo.DataHead
@@ -19,7 +20,7 @@
        } else {
            BaseResponse(true, data = res)
        }
    } catch (e: IllegalStateException) {
    } catch (e: BizException) {
        BaseResponse(false, message = e.message ?: "")
    }
}