fix: warn

This commit is contained in:
xingyu4j 2022-11-30 10:30:58 +08:00
parent 0a8a41dea1
commit a43b884c73
7 changed files with 1489 additions and 1221 deletions

View File

@ -43,6 +43,7 @@ public class YudaoAuthRequestFactory extends AuthRequestFactory {
* @param source {@link AuthSource} * @param source {@link AuthSource}
* @return {@link AuthRequest} * @return {@link AuthRequest}
*/ */
@Override
public AuthRequest get(String source) { public AuthRequest get(String source) {
// 先尝试获取自定义扩展的 // 先尝试获取自定义扩展的
AuthRequest authRequest = getExtendRequest(source); AuthRequest authRequest = getExtendRequest(source);

View File

@ -6,7 +6,7 @@ export interface ${simpleClassName}VO {
#if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer") #if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
${column.javaField}: number ${column.javaField}: number
#elseif(${column.javaType.toLowerCase()} == "date") #elseif(${column.javaType.toLowerCase()} == "date")
${column.javaField}: string ${column.javaField}: Date
#else #else
${column.javaField}: ${column.javaType.toLowerCase()} ${column.javaField}: ${column.javaType.toLowerCase()}
#end #end
@ -20,7 +20,7 @@ export interface ${simpleClassName}PageReqVO extends PageParam {
#if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer") #if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")
${column.javaField}?: number ${column.javaField}?: number
#elseif(${column.javaType.toLowerCase()} == "date") #elseif(${column.javaType.toLowerCase()} == "date")
${column.javaField}?: string[] ${column.javaField}?: Date[]
#else #else
${column.javaField}?: ${column.javaType.toLowerCase()} ${column.javaField}?: ${column.javaType.toLowerCase()}
#end #end

View File

@ -30,6 +30,7 @@ public class CaptchaController extends com.anji.captcha.controller.CaptchaContro
@ApiOperation("获得验证码") @ApiOperation("获得验证码")
@PermitAll @PermitAll
@OperateLog(enable = false) // 避免 Post 请求被记录操作日志 @OperateLog(enable = false) // 避免 Post 请求被记录操作日志
@Override
public ResponseModel get(@RequestBody CaptchaVO data, HttpServletRequest request) { public ResponseModel get(@RequestBody CaptchaVO data, HttpServletRequest request) {
return super.get(data, request); return super.get(data, request);
} }
@ -38,6 +39,7 @@ public class CaptchaController extends com.anji.captcha.controller.CaptchaContro
@ApiOperation("校验验证码") @ApiOperation("校验验证码")
@PermitAll @PermitAll
@OperateLog(enable = false) // 避免 Post 请求被记录操作日志 @OperateLog(enable = false) // 避免 Post 请求被记录操作日志
@Override
public ResponseModel check(@RequestBody CaptchaVO data, HttpServletRequest request) { public ResponseModel check(@RequestBody CaptchaVO data, HttpServletRequest request) {
return super.check(data, request); return super.check(data, request);
} }

View File

@ -104,7 +104,7 @@
"vite-plugin-svg-icons": "^2.0.1", "vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-setup-extend": "^0.4.0", "vite-plugin-vue-setup-extend": "^0.4.0",
"vite-plugin-windicss": "^1.8.8", "vite-plugin-windicss": "^1.8.8",
"vue-tsc": "^1.0.9", "vue-tsc": "^1.0.10",
"windicss": "^3.5.6" "windicss": "^3.5.6"
}, },
"engines": { "engines": {

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,17 @@
module.exports = { module.exports = {
printWidth: 100, printWidth: 100, // 每行代码长度默认80
tabWidth: 2, tabWidth: 2, // 每个tab相当于多少个空格默认2ab进行缩进默认false
useTabs: false, useTabs: false, // 是否使用tab
semi: false, semi: false, // 声明结尾使用分号(默认true)
vueIndentScriptAndStyle: false, vueIndentScriptAndStyle: false,
singleQuote: true, singleQuote: true, // 使用单引号默认false
quoteProps: 'as-needed', quoteProps: 'as-needed',
bracketSpacing: true, bracketSpacing: true, // 对象字面量的大括号间使用空格默认true
trailingComma: 'none', trailingComma: 'none', // 多行使用拖尾逗号默认none
jsxSingleQuote: false, jsxSingleQuote: false,
// 箭头函数参数括号 默认avoid 可选 avoid| always
// avoid 能省略括号的时候就省略 例如x => x
// always 总是有括号
arrowParens: 'always', arrowParens: 'always',
insertPragma: false, insertPragma: false,
requirePragma: false, requirePragma: false,