NACOS 认识和学习 官网路径:https://nacos.io/zh-cn/ 简介 1. nacos是什么? Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。 Nacos 帮助您更敏捷和容易地构建 ...
分类:
其他好文 时间:
2021-06-02 19:56:49
阅读次数:
0
spring: #thymeleaf thymeleaf: cache: false prefix: classpath:/templates/ check-template-location: true suffix: .html encoding: utf-8 mode: HTML #这个是关键 ...
分类:
编程语言 时间:
2021-06-02 19:47:35
阅读次数:
0
1.SpringBoot/spring @SpringBootApplication: 包含@Configuration、@EnableAutoConfiguration、@ComponentScan通常用在主类上; @Repository: 用于标注数据访问组件,即DAO组件; @Service: ...
分类:
编程语言 时间:
2021-06-02 19:23:55
阅读次数:
0
Dubbo是阿里巴巴公司开源的一个高性能优秀的服务框架,使得应用可通过高性能的RPC实现服务的输出和输入功能,可以和Spring框架无缝集成。Dubbo框架,是基于容器运行的,容器是Spring 1. 服务调用超时问题怎么解决? 消费者调用服务超时会引起服务降级的发生,即从发出调用请求到 获取到提供 ...
分类:
其他好文 时间:
2021-06-02 19:19:13
阅读次数:
0
#include <bits/stdc++.h> #define please return #define ac 0 using namespace std; using ll = long long ; bool vis[1003]; void solve() { int n,m; cin>>n ...
分类:
编程语言 时间:
2021-06-02 18:28:48
阅读次数:
0
首先添加相关依赖: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ...
分类:
数据库 时间:
2021-06-02 18:25:26
阅读次数:
0
Spring AOP 什么是AOP AOP(Aspect Oriented Programming)意为:面向切面编程,通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术。AOP是OOP的延续,是软件开发中的一个热点,也是Spring框架中的一个重要内容,是函数式编程的一种衍生范型。利用 ...
分类:
编程语言 时间:
2021-06-02 18:21:43
阅读次数:
0
服务器规划: 修改3个微服务的配置文件: [root@localhost resources]# vi /opt/simple-microservice/order-service/order-service-biz/src/main/resources/application-fat.yml [r ...
分类:
其他好文 时间:
2021-06-02 18:16:48
阅读次数:
0
Spring Boot的特点 1.依赖管理 父项目做依赖管理 <!-- HelloWorld项目的父项目 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</ ...
分类:
编程语言 时间:
2021-06-02 17:50:55
阅读次数:
0
1 简介 MyBatis-plus 是一款 Mybatis 增强工具,用于简化开发,提高效率。下文使用缩写 mp来简化表示 MyBatis-plus,本文主要介绍 mp 搭配 Spring Boot 的使用 官方网站:https://mp.baomidou.com/ 1.1 项目搭建 创建一个Spr ...
分类:
其他好文 时间:
2021-06-02 17:32:39
阅读次数:
0