上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 1.添加自定义文件 preventReClick.js 2.在main.js中引用 3.实现方式。在按钮上添加v-preventReClick 阅读全文
posted @ 2019-12-30 14:46 幻月hah 阅读(16372) 评论(2) 推荐(1)
摘要: 对接支付平台时常使用 阅读全文
posted @ 2019-12-26 13:43 幻月hah 阅读(1662) 评论(0) 推荐(0)
摘要: import com.ax.service.pay.OrderService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.Application 阅读全文
posted @ 2019-12-24 10:00 幻月hah 阅读(1432) 评论(0) 推荐(0)
摘要: 1.前端 前端监听地址:ip:webSocket服务的端口号/webSocket/参数 mounted() {// 初始化WebSocket this.initWebSocket(); },methods: { // WebSocket相关 initWebSocket: function() { i 阅读全文
posted @ 2019-12-20 17:29 幻月hah 阅读(1450) 评论(2) 推荐(0)
摘要: 1、List<对象>根据对象的某个属性,提取重复 List<String> listDetail = list.stream(). collect(Collectors.groupingBy(item -> item.getIdCard(), Collectors.counting())) .ent 阅读全文
posted @ 2019-11-25 10:07 幻月hah 阅读(173) 评论(0) 推荐(0)
摘要: 通过set的方式去重 针对String[]数组中第二各元素的去重 通过LinkedHashSet方式去重 对象中的某个元素去重,并提取该元素组成新的List 阅读全文
posted @ 2019-11-20 16:46 幻月hah 阅读(1107) 评论(0) 推荐(0)
摘要: 1.pom依赖 2.MultipartSupportConfig配置类 3.后端接口改造 关键字consumes = MULTIPART_FORM_DATA_VALUE 4.FeignClient接口改造 引入配置类MultipartSupportConfig,和接口注解consumes = MUL 阅读全文
posted @ 2019-11-19 11:51 幻月hah 阅读(3034) 评论(0) 推荐(0)
摘要: pom依赖 1.工具类方法,检测上传目录,若不存在则创建 private void judgeDirExists(String uoloadPath) { try { File targetPatchFile = new File(uploadPath); if (!targetPatchFile. 阅读全文
posted @ 2019-11-19 11:41 幻月hah 阅读(608) 评论(0) 推荐(0)
摘要: Date时区转换工具方法 阅读全文
posted @ 2019-11-14 10:41 幻月hah 阅读(19933) 评论(0) 推荐(0)
摘要: 1.map遍历entrySet()优于keySet() 阅读全文
posted @ 2019-10-31 15:35 幻月hah 阅读(154) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页