上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页
摘要: package com.example.apigeteway.filter; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import org.springframework. 阅读全文
posted @ 2019-12-17 13:21 qukaige 阅读(190) 评论(0) 推荐(0) 编辑
摘要: package com.example.apigeteway.filter; import com.example.apigeteway.exception.RateLimitException; import com.google.common.util.concurrent.RateLimite 阅读全文
posted @ 2019-12-17 13:20 qukaige 阅读(276) 评论(0) 推荐(0) 编辑
摘要: config 服务端 修改application.yml 为 bootstrap.yml 1. maven 添加 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-config-ser 阅读全文
posted @ 2019-12-11 15:44 qukaige 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 方式1 Controller处理> @InitBinder public void initBinder(WebDataBinder binder, WebRequest request) { //转换日期 DateFormat dateFormat=new SimpleDateFormat("yy 阅读全文
posted @ 2019-12-10 13:26 qukaige 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: Gson gson = new Gson(); List<OrderDetail> orderDetailList = new ArrayList<>(); orderDetailList = gson.fromJson(orderForm.getItems(),new TypeToken<List 阅读全文
posted @ 2019-12-09 09:26 qukaige 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 中国各城市经纬度坐标 原文地址 export default { 阿克苏地区: [80.260604, 41.168779], 和田地区: [79.922211, 37.114157], 上海: [121.480237, 31.236305], 东莞: [113.758231, 23.026997] 阅读全文
posted @ 2019-11-22 12:03 qukaige 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: 第一步: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit</artifactId> </dependency> 第二步 定义接口: pac 阅读全文
posted @ 2019-11-20 16:16 qukaige 阅读(269) 评论(0) 推荐(1) 编辑
摘要: 第一步: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> 第二步yml中配置rabbitMq地址: spr 阅读全文
posted @ 2019-11-20 14:51 qukaige 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 面试中遇到的笔试题目,手写两个大数相乘,不能用BigInteger (Java) /** * @Title: Test * @ProjectName client * @date 2019/11/1413:53 */ public class Test { public static void ma 阅读全文
posted @ 2019-11-14 16:20 qukaige 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 生产者 package com.test.producermq; import org.apache.activemq.ActiveMQConnectionFactory; import javax.jms.*; /** * @Title: MessageProducer * @ProjectNam 阅读全文
posted @ 2019-11-08 11:22 qukaige 阅读(155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页