开发时使用,生产环境关闭 1.Adding devtools to your project <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> ...
分类:
其他好文 时间:
2021-04-08 13:37:40
阅读次数:
0
首先配置ThreadPoolTaskScheduler线程池: package cn.demo.support.config; import org.springframework.context.annotation.Bean; import org.springframework.context ...
分类:
编程语言 时间:
2021-04-08 13:36:55
阅读次数:
0
The mode is the value in the data set that occurs most frequently. If all of the data values occur only once, or they each occur an equal number of ti ...
分类:
其他好文 时间:
2021-04-08 13:33:00
阅读次数:
0
问题场景 jackson可以将多态类型JSON序列化. 但在反序列化时会因为找不到具体的类而失败. 举例:创建4个POJO类 @Data public class AbstractTarget { } @Data @EqualsAndHashCode(callSuper = true) class ...
分类:
Web程序 时间:
2021-04-08 13:32:22
阅读次数:
0
sql报错注入 1.报错函数 (1).floor()报错 语句: ?id=1' union select 1,count(),concat(payload,floor(rand(0)2))x from information_schema.columns group by x --+ (2).upd ...
分类:
数据库 时间:
2021-04-08 13:32:03
阅读次数:
0
如何判别你在使用的MongoDB是企业版还是社区版? 下面整理了一些方法,方便不时之需。 方法1: > db.serverBuildInfo().modules<!--CRLF--> > db.serverBuildInfo().modules<!--CRLF--> 如果命令输出[ "enterpr ...
分类:
数据库 时间:
2021-04-08 13:26:25
阅读次数:
0
如果不可避免的在同一个页面里既有 django 渲染又有 vue 渲染的部分,出现冲突的两种解决方法: 方法一: 建议把 vue 的部分用 {% verbatim %} 包起来。详见:https://docs.djangoproject.com/en/2.2/ref/templates/builti ...
分类:
其他好文 时间:
2021-04-08 13:21:00
阅读次数:
0
<template> <div id="app"> <input type="text" v-model='todo' @keydown="doAdd($event)" /> <hr> <br> <h2>进行中</h2> <ul> <li v-for="(item,key) in list" v-i ...
分类:
其他好文 时间:
2021-04-08 13:13:21
阅读次数:
0
前期基本数据准备 数据库表可参考mybatisPlus官网快速开始的表(简单测试一下) POJO @Data @AllArgsConstructor @NoArgsConstructor public class User { //对应数据库中的主键(uuid,自增id,雪花算法,redis,zoo ...
分类:
其他好文 时间:
2021-04-08 13:01:23
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> typedef int LDataType; //双向带头循环链表的节点 typedef struct ListNode{ LDataType _data; /*指向下一个节点的起始位置* ...
分类:
其他好文 时间:
2021-04-08 13:00:40
阅读次数:
0