20240120-ljl-routeConfig
ljl 10 months ago
parent a791272fef
commit b7fe3effbb

@ -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,
},

Loading…
Cancel
Save