修改代码生成模板.
This commit is contained in:
@@ -29,12 +29,10 @@ public class HostKeyCreateRequest implements Serializable {
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
@Size(max = 65535)
|
||||
@Schema(description = "公钥文本")
|
||||
private String publicKey;
|
||||
|
||||
@NotBlank
|
||||
@Size(max = 65535)
|
||||
@Schema(description = "私钥文本")
|
||||
private String privateKey;
|
||||
|
||||
|
||||
@@ -34,12 +34,10 @@ public class HostKeyUpdateRequest implements UpdatePasswordAction {
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
@Size(max = 65535)
|
||||
@Schema(description = "公钥文本")
|
||||
private String publicKey;
|
||||
|
||||
@NotBlank
|
||||
@Size(max = 65535)
|
||||
@Schema(description = "私钥文本")
|
||||
private String privateKey;
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
spring:
|
||||
main:
|
||||
lazy-initialization: true
|
||||
banner-mode: OFF
|
||||
datasource:
|
||||
druid:
|
||||
name: orion-ops-pro
|
||||
url: jdbc:h2:mem:testdb;MODE=MYSQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=value;
|
||||
driver-class-name: org.h2.Driver
|
||||
username: sa
|
||||
password:
|
||||
max-active: 1
|
||||
async-init: true
|
||||
initial-size: 1
|
||||
test-while-idle: false
|
||||
sql:
|
||||
init:
|
||||
schema-locations:
|
||||
- classpath:/sql/create-table-h2-*.sql
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 16379
|
||||
database: 0
|
||||
|
||||
mybatis-plus:
|
||||
lazy-initialization: true
|
||||
Reference in New Issue
Block a user