mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-29 05:48:54 +08:00
build: Delete deprecated public modules
- Remove the forgeboot-common-result module - Delete the relevant source code files and build configurations - Includes modules: API, IMPL, build.gradle.kts, etc
This commit is contained in:
parent
b58cb6b339
commit
b41d9b5c46
@ -1,7 +0,0 @@
|
|||||||
extra {
|
|
||||||
// 标记为根项目
|
|
||||||
setProperty(ProjectFlags.IS_ROOT_MODULE, true)
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
extra {
|
|
||||||
// 标记为根项目
|
|
||||||
setProperty(ProjectFlags.IS_ROOT_MODULE, true)
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
package com.gewuyou.forgeboot.common.result.api
|
|
||||||
/**
|
|
||||||
* 结果扩展器
|
|
||||||
*
|
|
||||||
* 用于扩展结果映射,通过实现此接口,可以自定义逻辑以向结果映射中添加、修改或删除元素
|
|
||||||
* 主要用于在某个处理流程结束后,对结果数据进行额外的处理或装饰
|
|
||||||
*
|
|
||||||
* @since 2025-05-03 16:08:55
|
|
||||||
* @author gewuyou
|
|
||||||
*/
|
|
||||||
fun interface ResultExtender {
|
|
||||||
/**
|
|
||||||
* 扩展结果映射
|
|
||||||
*
|
|
||||||
* 实现此方法以执行扩展逻辑,可以访问并修改传入的结果映射
|
|
||||||
* 例如,可以用于添加额外的信息,修改现有值,或者根据某些条件删除条目
|
|
||||||
*
|
|
||||||
* @param resultMap 一个包含结果数据的可变映射,可以在此方法中对其进行修改
|
|
||||||
*/
|
|
||||||
fun extend(resultMap: MutableMap<String, Any?>)
|
|
||||||
}
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
dependencies {
|
|
||||||
implementation(project(Modules.Common.RESULT_API))
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
package com.gewuyou.forgeboot.common.result.impl
|
|
||||||
|
|
||||||
import com.gewuyou.forgeboot.common.result.api.MessageResolver
|
|
||||||
|
|
||||||
/**
|
|
||||||
*默认消息解析器
|
|
||||||
*
|
|
||||||
* @since 2025-05-03 16:21:43
|
|
||||||
* @author gewuyou
|
|
||||||
*/
|
|
||||||
object DefaultMessageResolver : MessageResolver {
|
|
||||||
override fun resolve(code: String, args: Array<Any>? ): String = code
|
|
||||||
}
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
package com.gewuyou.forgeboot.common.result.impl
|
|
||||||
|
|
||||||
import com.gewuyou.forgeboot.common.result.api.RequestIdProvider
|
|
||||||
|
|
||||||
/**
|
|
||||||
*默认请求ID提供商
|
|
||||||
*
|
|
||||||
* @since 2025-05-03 16:22:18
|
|
||||||
* @author gewuyou
|
|
||||||
*/
|
|
||||||
object DefaultRequestIdProvider : RequestIdProvider {
|
|
||||||
override fun getRequestId(): String = ""
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user