上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页
摘要: 阅读全文
posted @ 2022-11-08 17:30 野狼谷 阅读(117) 评论(0) 推荐(0)
摘要: linux报错-bash: ./xx.sh: Permission denied 在linux下执行sh文件时提示:-bash: ./xx.sh: Permission denied 进行授权:chmod 777 xx.sh Linux chmod +755和chmod +777 区别: 755 代 阅读全文
posted @ 2022-11-08 17:28 野狼谷 阅读(269) 评论(0) 推荐(0)
摘要: nginx 强制https 通常有如下两种方法强制https推荐第二种,第二种更高效1、使用nginx的rewrite方法 server { listen 80; server_name xxx.com; rewrite ^(.*)$ https://$host$1 permanent; } 2、使 阅读全文
posted @ 2022-11-03 01:57 野狼谷 阅读(322) 评论(0) 推荐(0)
摘要: 在数据量超大的情形下,任何数据库系统在创建索引时都是一个耗时的大工程,下面这篇文章主要给大家介绍了关于MongoDB排序时内存大小限制与创建索引的注意事项的相关资料,需要的朋友可以参考下 线上服务的MongoDB中有一个很大的表,我查询时使用了sort()根据某个字段进行排序,结果报了下面这个错误: 阅读全文
posted @ 2022-11-02 00:27 野狼谷 阅读(493) 评论(0) 推荐(0)
摘要: 1.需求:将此页面的几个表格导出 其中表头中的仓库 集散地是是动态生成的。 首先制作Excel模板: 代码: @Resource private RedisService redisService; @Override public void assignModel(EventInfo info, 阅读全文
posted @ 2022-10-27 15:12 野狼谷 阅读(3263) 评论(0) 推荐(0)
摘要: 1.环境配置 <!--easypoi依赖,excel导入导出--> <dependency> <groupId>cn.afterturn</groupId> <artifactId>easypoi-spring-boot-starter</artifactId> <version>4.3.0</ve 阅读全文
posted @ 2022-10-27 15:10 野狼谷 阅读(1210) 评论(0) 推荐(0)
摘要: studio 3T 更新或插入字段: db.getCollection("data_379129").update({},{$set: {'connectedStatus':NumberInt(0),'connectedTime':null}},{multi:true}) 字段类型判断 db.tb_ 阅读全文
posted @ 2022-10-14 10:08 野狼谷 阅读(81) 评论(0) 推荐(0)
摘要: 简述: Springboot项目的web服务后台,web服务运行在9100端口。 后台使用netty实现了TCP服务,运行在8000端口。 启动截图如下: pom依赖 <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</ar 阅读全文
posted @ 2022-09-28 14:05 野狼谷 阅读(3534) 评论(1) 推荐(0)
摘要: 文章目录 前言 1. 前置准备 2. 消息处理器 3. 重写通道初始化类 4. 核心服务 5. 效果预览 6. 添加通道管理,给指定的客户端发送消息 7. 源码分享 前言 Springboot使用Netty优雅、快速的创建高性能TCP服务器,适合作为开发脚手架进行二次开发。 1. 前置准备 引入依赖 阅读全文
posted @ 2022-09-28 14:01 野狼谷 阅读(4236) 评论(1) 推荐(2)
摘要: 阅读全文
posted @ 2022-09-19 16:00 野狼谷 阅读(266) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 53 下一页