Loading...
@Configuration @ImportResource( locations = {"classpath:jms-whmc-pending.xml"} ) public class JmsConfig { public JmsConfig() { } }
location / { root /usr/share/nginx/html/; index index.html index.htm; try_files $uri $uri/ @router; index index.html; } location @router { rewrite...
在使用webpack中配置了代理。秩序在nginx添加反代配置。 add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; location /api { proxy_pass http...
import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; imp...
@NotNull 值不能为空 @Null 值必须为空 @URL 字符串是合法URL @SafeHtml 字符串是安全的html @Email 字符串是邮件 @Length(min=,max=)检查字符串的长度 @Range(min=,max=) 数字必须在范围 @NotBlank 字符串必须有字符 @NotEmpty 字符串不为null,集合不为空 @Size(min=,...