diff --git a/src/main/java/com/ruoyi/project/tool/gen/util/GenUtils.java b/src/main/java/com/ruoyi/project/tool/gen/util/GenUtils.java index a2ac8bc7..7f784cd2 100644 --- a/src/main/java/com/ruoyi/project/tool/gen/util/GenUtils.java +++ b/src/main/java/com/ruoyi/project/tool/gen/util/GenUtils.java @@ -142,7 +142,7 @@ public class GenUtils if (template.contains("Mapper.java.vm")) { - return javaPath + "mapper" + "/" + "I" + className + "Mapper.java"; + return javaPath + "mapper" + "/" + className + "Mapper.java"; } if (template.contains("Service.java.vm")) diff --git a/src/main/resources/static/ruoyi/login.js b/src/main/resources/static/ruoyi/login.js index 70d6ce8c..2235edbc 100644 --- a/src/main/resources/static/ruoyi/login.js +++ b/src/main/resources/static/ruoyi/login.js @@ -17,7 +17,7 @@ $.validator.setDefaults({ function login() { var username = $("input[name='username']").val().trim(); var password = $("input[name='password']").val().trim(); - var validateCode = $("input[name='validateCode']").val().trim(); + var validateCode = $("input[name='validateCode']").val(); var rememberMe = $("input[name='rememberme']").is(':checked'); $.ajax({ type: "POST", diff --git a/src/main/resources/templates/system/user/profile/avatar.html b/src/main/resources/templates/system/user/profile/avatar.html index a997268d..a859dd6a 100644 --- a/src/main/resources/templates/system/user/profile/avatar.html +++ b/src/main/resources/templates/system/user/profile/avatar.html @@ -4,6 +4,7 @@