会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
每天进步一点点
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2023年9月7日
业务开发时,接口不能对外暴露解决方案
摘要: 在业务开发的时候,经常会遇到某一个接口不能对外暴露,只能内网服务间调用的实际需求。 #### 1. 内外网接口微服务隔离 将对外暴露的接口和对内暴露的接口分别放到两个微服务上,一个服务里所有的接口均对外暴露,另一个服务的接口只能内网服务间调用。 该方案需要额外编写一个只对内部暴露接口的微服务,将所有
阅读全文
posted @ 2023-09-07 10:42 道之缘
阅读(69)
评论(0)
推荐(0)
2023年8月10日
小技巧
摘要: 解除网页复制限制 ``` javascript:function t(e){e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation()}document.querySelectorAll('*').forE
阅读全文
posted @ 2023-08-10 11:21 道之缘
阅读(19)
评论(0)
推荐(0)
2023年8月4日
window下VMWare安装Linux
摘要: 一、下载VMWare 首先,在浏览器地址栏中输入链接地址https://www.vmware.com/cn.html进入VMWare官网,如图所示。 
评论(0)
推荐(0)
2023年6月16日
springboot集成sharding分库分表
摘要: #### 一、docker安装 ##### 1.查看已安装的CentOS版本信息 ``` cat /etc/redhat-release ``` ##### 2.安装docker 官网:http://www.docker.com 安装手册:https://docs.docker.com/instal
阅读全文
posted @ 2023-06-16 13:30 道之缘
阅读(223)
评论(0)
推荐(0)
2023年6月15日
java生成PDF(图片,模板,表格)
摘要: 链接:https://blog.csdn.net/qq_45699784/article/details/127791747
阅读全文
posted @ 2023-06-15 09:34 道之缘
阅读(47)
评论(0)
推荐(0)
2023年6月13日
统一结果返回类
摘要: 返回结果枚举 ``` import lombok.AllArgsConstructor; import lombok.Getter; @Getter @AllArgsConstructor public enum ResultEnum { SUCCESS(200, "成功"), ERROR(201,
阅读全文
posted @ 2023-06-13 14:02 道之缘
阅读(33)
评论(0)
推荐(0)
java相关官网地址
摘要: maven仓库地址:http://mvnrepository.com/ 阿里云maven仓库:https://developer.aliyun.com/mvn/search 微信官方文档-公众号:https://developers.weixin.qq.com/doc/offiaccount/Bas
阅读全文
posted @ 2023-06-13 10:21 道之缘
阅读(156)
评论(0)
推荐(0)
2023年6月12日
mybatisplus自动生成代码
摘要: 官网:https://baomidou.com/pages/24112f/ #### 1.引入依赖 ``` com.baomidou mybatis-plus-generator 3.4.1 org.apache.velocity velocity-engine-core 2.0 ``` ####
阅读全文
posted @ 2023-06-12 19:46 道之缘
阅读(22)
评论(0)
推荐(0)
2023年6月9日
linux安装mysql5.7
摘要: 1.下载mysql,可以直接去下载后利用xftp等工具传输到服务器上,我放在目录/usr/local/文件夹下 ``` wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.36-linux-glibc2.12-x86_64.tar.
阅读全文
posted @ 2023-06-09 16:42 道之缘
阅读(708)
评论(0)
推荐(0)
2023年6月2日
docker apt-get update失败问题解决
摘要: 一、问题描述 docker容器相当于linux系统的精简版,内部很多指令是无法直接使用的,例如vim指令,为了使用vim指令,我们需要进入容器内部进行安装,安装步骤为: ``` apt-get update apt-get install vim ``` 很多时候我们发现安装会失败,这里是由于下载源
阅读全文
posted @ 2023-06-02 13:38 道之缘
阅读(3612)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告