Riku
2025-05-14 cf160e28026ed1ed8bea82701d66e79a1085c503
src/main/kotlin/com/flightfeather/uav/lightshare/web/BaseResPack.kt
@@ -1,6 +1,6 @@
package com.flightfeather.uav.lightshare.web
import com.flightfeather.uav.common.exception.ResponseErrorException
import com.flightfeather.uav.common.exception.BizException
import com.flightfeather.uav.lightshare.bean.BaseResponse
import com.flightfeather.uav.lightshare.bean.DataHead
@@ -21,7 +21,7 @@
        } else {
            BaseResponse(true, data = res)
        }
    } catch (e: ResponseErrorException) {
    } catch (e: BizException) {
        BaseResponse(false, message = e.message ?: "")
    }
}