摘要: import org.slf4j.Logger;import org.slf4j.LoggerFactory;import javax.net.ssl.HostnameVerifier;import javax.net.ssl.HttpsURLConnection;import javax.net. 阅读全文
posted @ 2020-06-12 16:25 逐梦寻欢 阅读(3601) 评论(0) 推荐(0)
摘要: 1.调用demo ValidUtil.valid("【设备编码】50内长度数字", body.getDeviceNum(), "{'required':true,'regex':'" + RegexConstants.DEVICE_NUM_PATTERN + "'}"); ValidUtil.val 阅读全文
posted @ 2020-06-12 16:22 逐梦寻欢 阅读(181) 评论(0) 推荐(0)
摘要: 1.引入pom依赖 <dependency> <groupId>org.apache.curator</groupId> <artifactId>curator-client</artifactId> <version>2.9.1</version> </dependency> <dependenc 阅读全文
posted @ 2020-06-12 16:10 逐梦寻欢 阅读(287) 评论(0) 推荐(0)