在@controller中类的头部有一个@CrossOrigin注解。 @CrossOrigin是用来处理跨域请求的注解 先来说一下什么是跨域: (站在巨人的肩膀上) 跨域,指的是浏览器不能执行其他网站的脚本。它是由浏览器的同源策略造成的,是浏览器对JavaScript施加的安全限制。 所谓同源是指 ...
分类:
其他好文 时间:
2018-04-17 19:54:34
阅读次数:
283
树梅派应用56:用树莓派搭建Git私有服务器 https://blog.csdn.net/huayucong/article/details/54407143 树梅派应用58:使用ngrok将树莓派web服务映射到公网 https://blog.csdn.net/huayucong/article/ ...
分类:
其他好文 时间:
2018-04-17 19:41:10
阅读次数:
167
本文将介绍下mongodb主从配置及备份 MongoDB 是一个基于分布式文件存储的数据库。由 C++ 语言编写。旨在为 WEB 应用提供可扩展的高性能数据存储解决方案。 MongoDB 是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。 主从服务器的实现 ...
分类:
数据库 时间:
2018-04-17 19:36:21
阅读次数:
208
描述 Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not pos ...
分类:
编程语言 时间:
2018-04-17 18:05:05
阅读次数:
233
Eclipse上Maven环境配置使用 (全) Eclipse EE+MAVEN配置以及POM.XML的使用 Eclipse报错:Referenced classpath provider does not exist: org.maven.ide.eclipse…… ...
分类:
系统相关 时间:
2018-04-17 18:04:52
阅读次数:
171
解决方法: 打开build.gradle 添加下面标红的代码allprojects { repositories { jcenter() // 标红的代码 maven { url "https://maven.google.com" } }} ...
分类:
移动开发 时间:
2018-04-17 16:52:13
阅读次数:
210
java.lang.ArrayStoreException 分析 java.lang.ArrayStoreException 分析 这个demo来说明怎样排查一个spring boot 1应用升级到spring boot 2时可能出现的java.lang.ArrayStoreException。 d ...
分类:
编程语言 时间:
2018-04-17 15:10:26
阅读次数:
320
alias proxy='export http_proxy=socks5://127.0.0.1:1080; export https_proxy=socks5://127.0.0.1:1080' alias unproxy='unset http_proxy; unset https_proxy... ...
分类:
其他好文 时间:
2018-04-17 13:10:53
阅读次数:
178
在官网下载: https://jmeter.apache.org/download_jmeter.cgi 新版本 要从命令行启动 cd 到bin目录下 使用 sh jmeter ...
分类:
其他好文 时间:
2018-04-17 11:57:20
阅读次数:
159
文章转自:https://www.cnblogs.com/onepixel/p/7092302.html TCP/IP 协议栈是一系列网络协议的总和,是构成网络通信的核心骨架,它定义了电子设备如何连入因特网,以及数据如何在它们之间进行传输。TCP/IP 协议采用4层结构,分别是应用层、传输层、网络层 ...
分类:
其他好文 时间:
2018-04-17 11:57:10
阅读次数:
161