From e1dde4d2bf754b4d643ba6ab662af90c944145c3 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 02 Mar 2023 10:12:50 +0800
Subject: [PATCH] 增加活动公告

---
 src/main/resources/templates/febs/views/modules/system/agentAmountSet.html |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html b/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
index deea23d..fcf7164 100644
--- a/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
+++ b/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
@@ -104,9 +104,13 @@
         form.on('submit(agent-amount-set-form-submit)', function (data) {
             console.log(data);
             febs.post(ctx + 'admin/system/agentAmountSetSetting', data.field, function (res) {
-                febs.alert.success('设置成功');
+                if (res.code == 200) {
+                    febs.alert.success(res.message);
+                } else {
+                    febs.alert.warn(res.message);
+                }
             });
-            window.location.reload();
+            // window.location.reload();
             return false;
         });
     });

--
Gitblit v1.9.1