From 318ec224e5921f5440ad7e903cd86657d0251e4c Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 28 Apr 2025 15:59:44 +0800
Subject: [PATCH] refactor(votesActivity): 修改门票剩余字段并优化订单列表接口调用
---
src/main/resources/templates/febs/views/modules/votesActivity/discountUpdate.html | 4 ++--
src/main/resources/templates/febs/views/modules/votesActivity/orderList.html | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/votesActivity/discountUpdate.html b/src/main/resources/templates/febs/views/modules/votesActivity/discountUpdate.html
index 3126197..9f8c0ae 100644
--- a/src/main/resources/templates/febs/views/modules/votesActivity/discountUpdate.html
+++ b/src/main/resources/templates/febs/views/modules/votesActivity/discountUpdate.html
@@ -145,7 +145,7 @@
<div class="layui-col-lg6">
<label class="layui-form-label febs-form-item-require">门票剩余:</label>
<div class="layui-input-block">
- <input type="text" name="expectCnt" lay-verify="required"
+ <input type="text" name="surplusCnt" lay-verify="required"
placeholder="" autocomplete="off" class="layui-input">
</div>
</div>
@@ -377,7 +377,7 @@
"payAmount": activity.payAmount,
"orderCnt": activity.orderCnt,
"hotState": activity.hotState,
- "expectCnt": activity.expectCnt,
+ "surplusCnt": activity.surplusCnt,
"voteCnt": activity.voteCnt,
"addState": activity.addState,
});
diff --git a/src/main/resources/templates/febs/views/modules/votesActivity/orderList.html b/src/main/resources/templates/febs/views/modules/votesActivity/orderList.html
index b40c268..9ee9242 100644
--- a/src/main/resources/templates/febs/views/modules/votesActivity/orderList.html
+++ b/src/main/resources/templates/febs/views/modules/votesActivity/orderList.html
@@ -218,7 +218,7 @@
dataType: 'json',
headers: { 'Content-Type': 'application/json;charset=utf-8' },
traditional: true,
- data: JSON.stringify(ids), // 确保传递的是 JSON 格式
+ data: JSON.stringify('{ids:'+ids+'}'), // 确保传递的是 JSON 格式
success: function (response) {
if (response.code === 200) {
successCallback(response);
--
Gitblit v1.9.1