feat: 命令分组.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.orion.ops.framework.common.validator.group;
|
||||
|
||||
import javax.validation.groups.Default;
|
||||
|
||||
/**
|
||||
* 批量验证分组
|
||||
*
|
||||
* @author Jiahang Li
|
||||
* @version 1.0.0
|
||||
* @since 2023/9/1 19:13
|
||||
*/
|
||||
public interface Batch extends Default {
|
||||
}
|
||||
@@ -45,9 +45,9 @@ public class CodeGenerators {
|
||||
// .color("blue", "gray", "red", "green", "white")
|
||||
// .valueUseFields()
|
||||
// .build(),
|
||||
Template.create("command_snippet", "命令片段", "command")
|
||||
Template.create("command_snippet_group", "命令片段分组", "command")
|
||||
.disableUnitTest()
|
||||
.cache("command:snippet:list:{}", "命令片段列表 ${userId}")
|
||||
.cache("command:snippet:group:{}", "命令片段分组 ${userId}")
|
||||
.expire(1, TimeUnit.DAYS)
|
||||
.vue("host", "command-snippet")
|
||||
.build(),
|
||||
|
||||
Reference in New Issue
Block a user