码迷,mamicode.com
首页 >  
搜索关键字:springboot web开发-cors支持    ( 9666个结果
SpringBoot中logback.xml使用application.yml中属性
教你如何使用 springProfile 与 springProperty 让你的logback.xml 配置显得更有逼格,当别人还在苦苦挣扎弄logback-.xml的时候 你一个文件就搞定了… springProfile 该 标签允许我们更加灵活配置文件,可选地包含或排除配置部分。元素中的任何位 ...
分类:移动开发   时间:2021-02-03 11:09:26    阅读次数:0
Base64工具类:将前端vue与后台SpringBoot传输的参数进行加密和解密
一、前端加密 1.引入base64依赖: cnpm install --save js-base64 2.使用base4对参数进行加密: let Base64 = require('js-base64').Base64 //加密方法 let password = Base64.encode(pass ...
分类:编程语言   时间:2021-02-02 11:36:40    阅读次数:0
Prometheus为你的SpringBoot应用保驾护航
前面我们介绍了Prometheus的作用和整体的架构,相信大家对Prometheus有了一定的了解。 具体可以查看这篇文章:https://mp.weixin.qq.com/s/QoAs0-AYy8krWTa3HbmJZA 今天着重介绍下如何在项目中将Prometheus用起来,结合漂亮的图表做数据 ...
分类:编程语言   时间:2021-02-02 10:53:55    阅读次数:0
MyBatis Plus 实现多表分页模糊查询
项目中使用springboot+mybatis-plus来实现。 但是之前处理的时候都是一个功能,比如分页查询,条件查询,模糊查询。 这次将这个几个功能合起来就有点头疼,写下这边博客来记录自己碰到的问题 我们如果要实现多表分页模糊查询,需要按照下面的步骤进行。 配置分页插件 @Bean public ...
分类:其他好文   时间:2021-02-02 10:42:14    阅读次数:0
springboot基础配置-->Properties配置
Spring Boot项目中的application.properties配置文件一共可以出现在如下4个位置: 项目根目录下的config文件夹中。 项目根目录下。 classpath下的config文件夹中。 classpath下。 如果这4个位置中都有application.properties ...
分类:编程语言   时间:2021-02-01 12:45:28    阅读次数:0
记录springboot+注解形式实现接口防刷
首先是写一个注解类: import java.lang.annotation.Retention;import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD;import stat ...
分类:编程语言   时间:2021-01-30 11:43:21    阅读次数:0
mysql改为postgresql 语法常见问题
springboot引入postgresql ①pom引入依赖<dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>9.4.1212</version></depende ...
分类:数据库   时间:2021-01-29 12:21:36    阅读次数:0
springboot整合ElasticSearch
yml spring: data: elasticsearch: client: reactive: endpoints: 192.168.209.160:9200 connection-timeout: 10000#链接到es的超时时间,毫秒为单位,默认10秒(10000毫秒) socket-ti ...
分类:编程语言   时间:2021-01-28 12:03:55    阅读次数:0
SpringBoot: No active profile set, falling back to default profiles: default , 不一定是依赖的问题
No active profile set, falling back to default profiles: default SpringBoot发布的时候发现出现这个错误 , 当然这个错误一搜就有答案 , 大部分是依赖的问题 <dependency> <groupId>org.springfr ...
分类:编程语言   时间:2021-01-28 12:00:28    阅读次数:0
springboot+oracle+mybatis实现crud
1.项目结构如下 2.user类的代码 package com.ximen.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data//生成get和set方 ...
分类:数据库   时间:2021-01-28 11:54:05    阅读次数:0
9666条   上一页 1 ... 29 30 31 32 33 ... 967 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!