From c3f2f93821ac8d351fe7c9d1f0f28c39b36cfef1 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 01 Mar 2023 18:01:06 +0800
Subject: [PATCH] 增加活动公告
---
src/main/resources/templates/febs/views/modules/system/agentAmountSet.html | 6 +++++-
1 files changed, 5 insertions(+), 1 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..ff21c8c 100644
--- a/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
+++ b/src/main/resources/templates/febs/views/modules/system/agentAmountSet.html
@@ -104,7 +104,11 @@
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();
return false;
--
Gitblit v1.9.1