From b7fe3effbbf8326fbf4fe23fca5fd7108b286e6c Mon Sep 17 00:00:00 2001 From: ljl Date: Mon, 8 Jan 2024 16:11:46 +0800 Subject: [PATCH] yh --- app/views/page/admin/mall/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/page/admin/mall/index.php b/app/views/page/admin/mall/index.php index 99d9225..bf0dc53 100644 --- a/app/views/page/admin/mall/index.php +++ b/app/views/page/admin/mall/index.php @@ -420,7 +420,7 @@ function getTopMockBtn() { $.ajax({ - url : window.location.protocol + '//' + window.location.host + '/admin/mall/top_mock_btn', + url : RequestTool.rebuildAjaxUrl(window.location.protocol + '//' + window.location.host + '/admin/mall/top_mock_btn'), success: function (res) { $("#J_topMockBtnDiv").html(res); } @@ -430,7 +430,7 @@ $('.J_removeAccessBlacklist').on('click', function() { var mallIdS = $(this).attr('data-mall-id-s'); $.ajax({ - url : window.location.protocol + '//' + window.location.host + '/admin/mall/removeMallFromAccessBlacklist', + url : RequestTool.rebuildAjaxUrl(window.location.protocol + '//' + window.location.host + '/admin/mall/removeMallFromAccessBlacklist'), data : { mallIdS: mallIdS, }, @@ -448,7 +448,7 @@ $('.J_addAccessBlacklist').on('click', function() { var mallIdS = $(this).attr('data-mall-id-s'); $.ajax({ - url : window.location.protocol + '//' + window.location.host + '/admin/mall/addMallToAccessBlacklist', + url : RequestTool.rebuildAjaxUrl(window.location.protocol + '//' + window.location.host + '/admin/mall/addMallToAccessBlacklist'), data : { mallIdS: mallIdS, },