Spring Security简介 历史 添加parent和web依赖 SpringBootApplication @MapperScan@SpringBootApplication public class SpringSecurityApplication{ public static void ...
分类:
编程语言 时间:
2021-02-17 14:45:56
阅读次数:
0
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:
其他好文 时间:
2021-02-15 12:41:17
阅读次数:
0
语法 window.open(URL,name,specs,replace) 参数说明 URL 可选。打开指定的页面的URL。如果没有指定URL,打开一个新的空白窗口 name 可选。指定target属性或窗口的名称。支持以下值: _blank - URL加载到一个新的窗口。这是默认 _parent ...
HTML 基本框架 <!doctype html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <title>无标题文档</title> </head> <body> </body> </html> iframe内联框架 <iframe src ...
分类:
编程语言 时间:
2021-02-10 12:56:07
阅读次数:
0
Given a string s of '(' , ')' and lowercase English characters. Your task is to remove the minimum number of parentheses ( '(' or ')', in any position ...
分类:
其他好文 时间:
2021-02-09 12:12:28
阅读次数:
0
仅供自己学习 思路: 1.很明显,又是滑动窗口的题,只要 if判断能满足 ><,或<>就让右指针右移一个元素,并且记录长度 right-left+1。如果不满足则 left = right,再重复上述步骤 代码: 1 class Solution { 2 public: 3 int maxTurbu ...
分类:
其他好文 时间:
2021-02-09 12:00:13
阅读次数:
0
在config.xml下添加: <platform name="ios"> <config-file parent="NSCameraUsageDescription" target="*-Info.plist"> <string>需要访问您的相机</string> </config-file> < ...
分类:
移动开发 时间:
2021-02-09 11:54:35
阅读次数:
0
1.再vs code中安装插件 rest client 2.然后再vs code中创建一个 .rest文件,如下图所示 3.点击Send Request,出现如下结果 注意:再做接口测试,传递参数得时候,前面需要空一行,否则会出现如下报错。 Header name must be a valid H ...
分类:
其他好文 时间:
2021-02-08 12:37:01
阅读次数:
0
简单的方法是 直接在Controller内的接口参数前加上校验注解(@NotBlank...等),此时需在类上加注解 @Validated即可.当校验参数过多,这种方法使接口参数看起来过于臃肿,代替的选择是在实体类上使用 @Validated 注解来进行一些参数的验证. 一、实体类加注解 @Null ...
分类:
编程语言 时间:
2021-02-06 12:13:11
阅读次数:
0
#ifndef MYPUSHBUTTON_H #define MYPUSHBUTTON_H #include <QPushButton> class MyPushButton : public QPushButton { Q_OBJECT public: explicit MyPushButton( ...
分类:
其他好文 时间:
2021-02-06 12:12:31
阅读次数:
0