会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
牛牛
牛牛在线
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2022年9月20日
redis distributed lock redis分布式锁试下
摘要: @Resourceprivate DistributedRedisLockTemplate lockTemplate;String distributedKey="lockKey" ; DistributedLockCallback<String> callback = new Distribute
阅读全文
posted @ 2022-09-20 15:50 蜗牛无敌
阅读(76)
评论(0)
推荐(0)
编辑
restTemplate 使用1
摘要: public String getCode(String jsCode) { try { String url= "http://www.baidu.com" ResponseEntity responseEntity = restTemplate.getForEntity(url, WeChatS
阅读全文
posted @ 2022-09-20 15:37 蜗牛无敌
阅读(28)
评论(0)
推荐(0)
编辑
restTemplate post使用
摘要: private String generateScheme(GetWechatSchemeReq req, String accessToken) { String path = req.getPath(); String query = req.getQuery(); String url = "
阅读全文
posted @ 2022-09-20 15:33 蜗牛无敌
阅读(60)
评论(0)
推荐(0)
编辑
公告