diff --git a/tamguo-common/src/main/java/com/tamguo/common/utils/SystemConstant.java b/tamguo-common/src/main/java/com/tamguo/common/utils/SystemConstant.java index 0a64316..27999ff 100644 --- a/tamguo-common/src/main/java/com/tamguo/common/utils/SystemConstant.java +++ b/tamguo-common/src/main/java/com/tamguo/common/utils/SystemConstant.java @@ -10,4 +10,5 @@ public class SystemConstant { /** 验证码常数*/ public static final String SYSTEM_USER_CODE = "system"; + } diff --git a/tamguo-oms/src/main/resources/templates/modules/sys/menu/add.html b/tamguo-oms/src/main/resources/templates/modules/sys/menu/add.html index 49eca25..d5f4674 100644 --- a/tamguo-oms/src/main/resources/templates/modules/sys/menu/add.html +++ b/tamguo-oms/src/main/resources/templates/modules/sys/menu/add.html @@ -328,7 +328,7 @@ $("#inputForm").validate({ submitHandler: function(form){ js.ajaxSubmitForm($(form), function(data){ js.showMessage(data.message); - if(data.result == Global.TRUE){ + if(data.code == 0){ js.closeCurrentTabPage(function(contentWindow){ contentWindow.$('#dataGrid').dataGrid('refreshTreeChildren', $('#parentCode').val(), ''); diff --git a/tamguo-oms/src/main/resources/templates/modules/sys/post/update.html b/tamguo-oms/src/main/resources/templates/modules/sys/post/update.html index 00fdb55..3e3ff4b 100644 --- a/tamguo-oms/src/main/resources/templates/modules/sys/post/update.html +++ b/tamguo-oms/src/main/resources/templates/modules/sys/post/update.html @@ -72,7 +72,7 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
- +