Browse Source

!140 添加用户时,用户名、手机号、邮箱唯一校验参数修正
Merge pull request !140 from BoazJun/master

若依 5 năm trước cách đây
mục cha
commit
c3a6f4af6a

+ 3 - 3
ruoyi-admin/src/main/resources/templates/system/user/add.html

@@ -149,7 +149,7 @@
                         type: "post",
                         dataType: "json",
                         data: {
-                        	name : function() {
+                        	"loginName": function() {
                                 return $.common.trim($("#loginName").val());
                             }
                         },
@@ -169,7 +169,7 @@
                         type: "post",
                         dataType: "json",
                         data: {
-                            name: function () {
+                            "email": function () {
                                 return $.common.trim($("#email").val());
                             }
                         },
@@ -185,7 +185,7 @@
                         type: "post",
                         dataType: "json",
                         data: {
-                            name: function () {
+                            "phonenumber": function () {
                                 return $.common.trim($("#phonenumber").val());
                             }
                         },