logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

前后端分离后怎么放在一起

1.将前端打包代码放在后端springboot的resource/static/目录下class implements WebMvcConfigurer {@Overridepublic void addResourceHandlers(ResourceHandlerRegistry registry) {registry.addResourceHandler("/static/**").addR

#java
“你的连接不是私密连接” https请求被浏览器拦截问题,设置不让拦截

https请求被浏览器拦截问题,设置不让拦截使用Chrome,360极速浏览器’访问https网站时,可能会被拦截在弹出的属性对话框中选择"快捷方式"页签,在目标中加入如下起动参数: --test-type --ignore-certificate-errors,点确定按钮注意:在chrome.exe和参数之间需要加一个空格后...

springboot中lombok日志使用

在Springboot中使用slf4j记录日志1.引用依赖<dependency><groupId>org.projectlombok</groupId><artifactId>lombok</artifactId><optional>true</optional></dependency>2. ide

SpringBoot源码 如何批量加载bean到spring IOC容器

一. 自定义spirngBoot批量装载bean到IOC容器1.自定义一个redisTemplate和mybatis的sqlSessionFactory类2.分别创建2个Configuration类负责装载2个类到IOC容器在 spring3.x之后用@Configuration装载bean到IOC容器,之前版本用applicationContext.xml配置bean@Configuration

#spring boot
MyBatis Generator(generatorConfig.xml)生成Model、Dao、Mapper.xml

本文使用maven插件的方式实现mybatis逆向工程生成生成Model、Dao、Mapper.xml1.在pom.xml文件中添加mybatis-generator插件<build><plugins><!-- mybatis-generator自动生成代码插件 --><plugin><groupId>org.mybatis.genera

springcloud gateway静态、动态路由配置

spring:application:name: spring-cloud-gatewaycloud:gateway:routes:#断言,相当于if判断#1. 请求cookie要有- id: predicates_route_demo#代理的访问地址 token,1212uri: http://localhost:8081/predicates:

ORACLE 计算2个日期之间的天数

select to_date(‘11/09/2020’,‘mm/dd/yyyy’) - to_date(‘05/24/2019’,‘mm/dd/yyyy’)from dual

#oracle
cron 表达式介绍

cron 表达式介绍Cron 表达式是一个字符串,分为 6 或 7 个域,每一个域代表一个含义Cron 有如下两种语法格式:Seconds Minutes Hours Day Month Week YearSeconds Minutes Hours Day Month Week结构  corn 从左到右(用空格隔开):秒 分 小时 月份中的日期 月份 星期中的日期 年份Cron 表达式的时间字段除

Oracle alter 修改表名、列名、数据类型、插入列、删除列

ALTER 语句修改数据表alter 语句修改数据表1.修改数据表名alter table [方案名.]old_table_name rename to new_table_name;2.修改列名alter table [方案名.]table_name rename column old_column_name to new_column_name;3.修改列的数据类型alter table [方

#数据库#sql#dba +2
oracle 修改字段为null 、not null

alter TABLE 你的表名 MODIFY 你的字段名 NULL;--用以将字段从不能为空设置为可以为空alter TABLE 你的表名 MODIFY 你的字段名 NOT NULL; --反之

#oracle
    共 16 条
  • 1
  • 2
  • 请选择