自然人id设置为空

This commit is contained in:
刘才福 2023-07-11 13:49:12 +08:00
parent 8fd6a80e77
commit 1936b9be77
2 changed files with 19 additions and 19 deletions

View File

@ -52,7 +52,7 @@ public class CmsMsgQueryReq extends PageRequest {
/**
*
*/
@NotNull(message = "自然人id不能为空")
/*@NotNull(message = "自然人id不能为空")*/
private Long personId;
/**
*

View File

@ -1,18 +1,18 @@
spring:
application:
name: mns
cloud:
nacos:
config:
server-addr: ${NACOS_HOST:dev-nacos.axzo.cn}:${NACOS_PORT:80}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:35eada10-9574-4db8-9fea-bc6a4960b6c7}
prefix: ${spring.application.name}
profiles:
active: ${NACOS_PROFILES_ACTIVE:dev}
main:
allow-bean-definition-overriding: true
logging:
level:
com.alibaba.nacos.client.config.impl: WARN
#spring:
# application:
# name: msg-center
# cloud:
# nacos:
# config:
# server-addr: ${NACOS_HOST:dev-nacos.axzo.cn}:${NACOS_PORT:80}
# file-extension: yaml
# namespace: ${NACOS_NAMESPACE_ID:35eada10-9574-4db8-9fea-bc6a4960b6c7}
# prefix: ${spring.application.name}
# profiles:
# active: ${NACOS_PROFILES_ACTIVE:dev}
# main:
# allow-bean-definition-overriding: true
#
#logging:
# level:
# com.alibaba.nacos.client.config.impl: WARN