上一页 1 ··· 6 7 8 9 10
摘要: <!-- pom 文件--><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId></dependency><!-- https: 阅读全文
posted @ 2020-08-11 17:49 爵士灬 阅读(608) 评论(0) 推荐(0)
摘要: <!--websocket pom --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId></dependency> #Co 阅读全文
posted @ 2020-08-11 17:34 爵士灬 阅读(110) 评论(0) 推荐(0)
摘要: <!--rabbitmq的配置--> #rabbitmqspring.rabbitmq.host=127.0.0.1spring.rabbitmq.port=5672spring.rabbitmq.username=guestspring.rabbitmq.password=guest <!-- R 阅读全文
posted @ 2020-08-11 15:52 爵士灬 阅读(336) 评论(0) 推荐(0)
摘要: /*** 基于Redis的 setnx特性* **/ import redis.clients.jedis.Jedis; public class RedisLock { //加入redis锁 public static boolean tryLock(String methods){ Jedis 阅读全文
posted @ 2020-08-11 15:18 爵士灬 阅读(109) 评论(0) 推荐(0)
摘要: ## Redis 配置## Redis数据库索引(默认为0)spring.redis.database=0spring.redis.host=127.0.0.1spring.redis.port=6379 <!--Redis pom--><dependency> <groupId>org.sprin 阅读全文
posted @ 2020-08-11 15:08 爵士灬 阅读(316) 评论(0) 推荐(0)
摘要: <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script><script src="js/md5.min.js"></script> $("#submit").click(function() { var test = 阅读全文
posted @ 2020-08-06 20:27 爵士灬 阅读(105) 评论(0) 推荐(0)
摘要: import java.io.ByteArrayOutputStream;import java.security.KeyFactory;import java.security.KeyPair;import java.security.KeyPairGenerator;import java.se 阅读全文
posted @ 2020-08-06 20:13 爵士灬 阅读(595) 评论(0) 推荐(0)
摘要: jsencrypt.js标签 <scriptsrc="https://cdn.bootcss.com/jsencrypt/3.0.0-beta.1/jsencrypt.js"></script><script src="https://cdn.bootcss.com/jquery/3.3.1/jqu 阅读全文
posted @ 2020-08-06 20:11 爵士灬 阅读(5856) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10