![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 51
qq_2423338532
这个作者很懒,什么都没留下…
展开
-
跨域问题
package com.course.server.config;import org.springframework.context.annotation.Configuration;import org.springframework.web.cors.CorsConfiguration;import org.springframework.web.servlet.config.annotation.CorsRegistry;import org.springframework.web.se.原创 2021-04-14 21:29:28 · 111 阅读 · 0 评论 -
SpringBoot项目搭建路由模块-gateway
网关主要功能:限流(流量控制);重试(请求失败时重试,慎用);跨域(前后端不在同一个域);路由(转发请求);鉴权(登录校验,签名校验)等。新建Maven子项目gateway加入网关依赖<dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter原创 2021-03-14 16:56:51 · 1620 阅读 · 0 评论 -
springboot-01
创建一个简单的maven项目pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.a...原创 2019-07-31 14:56:48 · 67 阅读 · 0 评论 -
快速搭建springboot
默认单点登录not noly sql没有pageHelper全部是spring官方 提供的starter框架如果要使用Druid和PageHelper等框架看官方有无提供与springboot整合的starter依赖?1.有:看pageHelper官方有无提供与springboot整合的starter(pageHelper-spring-boot-starter)...原创 2019-08-28 09:53:10 · 66 阅读 · 0 评论