随笔分类 - 后端学习
后端学习
摘要:ResponseEntity使用 优点:可以控制整个http响应, 劣势:构造返回会较复杂,ResponseEntity.ok().headers(HttpHeaders.EMPTY).body(str); 自定义Response对象,通常有定义code,message等值 优点:对绝大多数的场影,
阅读全文
摘要:1. 采用spring boot注解方式,如果采用swagger的话会导致swagger不可用 1.1 spring 配置如下 Whitelabel Error Page This application has no explicit mapping for /error, so you are
阅读全文
摘要:zuul.host.socket-timeout-millis=60000 #zuul socket连接超时zuul.host.connect-timeout-millis=60000 #zull 请求连接超时时间 hystrix.command.default.execution.timeout.
阅读全文
摘要:websocket前台实现代码,保存为html执行就好 html代码来自:https://blog.csdn.net/M348915654/article/details/53616837 方法一 配置: 实现: 方法二: 配置 实现:
阅读全文
摘要:1. 数据库工具:https://github.com/jprante/elasticsearch-jdbc 2.数据展示:https://github.com/mobz/elasticsearch-head 3.管理工具:https://github.com/lmenezes/elasticsea
阅读全文
摘要:最近有用到python去处理一些问题,发现现在3已出来,遂用直接下3.7使用 发现问题还是有一点的 1. pip 会出现ssl问题 解决方法:pip --trusted-host pypi.python.org --trusted-host pypi.org install --trusted-ho
阅读全文
摘要:(2011-11-07 11:37:30) 转载▼ http://blog.sina.com.cn/s/blog_7085382f0100uk4p.html 转载▼ http://blog.sina.com.cn/s/blog_7085382f0100uk4p.html 标签: 杂谈 杂谈 基于代码
阅读全文
摘要:安装参照官网:http://nginx.org/en/docs/configure.html yum 安装: 操作步骤: 1. 安装prce:yum install pcre pcre-devel -y 2. 安装zlib:yum install zlib zlib-devel -y 3. 安装ss
阅读全文

浙公网安备 33010602011771号