记得上下班打卡 | git大法好,push需谨慎

Commit 7ab7d5ca authored by dongchun's avatar dongchun

删除模块接口问题修改

parent f842cf9f
......@@ -176,7 +176,7 @@
<div>
魔方位
</div>
<span class="mofangSp" onclick="delSp()">X</span>
<span class="mofangSp" onclick="delSp(4)">X</span>
</div>
<div class="jinGangWei" onclick="goArea(1)">
<div>
......@@ -189,8 +189,6 @@
活动BANNER
</div>
<span class="huDongBannerSp" onclick="delSp(2)">X</span>
</div>
<!-- <iframe id="iframe" src="http://172.16.3.82:8080/#/goods/home?place=admin" width="375" height="1190" frameborder="0"></iframe> -->
</div>
......@@ -240,7 +238,8 @@
}
}
function delSp (num) {
console.log($('.goods-banner-props'), '有吗')
event.stopPropagation()
console.log($('.goods-banner-props'), '有吗2')
let arr = [
{"mid":2,"moudleIndexId":"708754120962334729770775","moudleName":"jinGangWei","indexs":2,"updateTime":"2022-01-11 17:40:03","createTime":"2022-01-06 13:53:45","delTag":0,"status":0},
{"mid":1,"moudleIndexId":"708753099180072962244503","moudleName":"huDongBanner","indexs":1,"updateTime":"2022-01-06 13:52:22","createTime":"2022-01-06 13:52:19","delTag":0,"status":0},
......@@ -251,9 +250,11 @@
$.ajax({
type: 'post',
url: '/front-index/update',
contentType: 'application/json',
data: JSON.stringify(arr[num-1]),
success:function (res) {
console.log(res, 'res')
modalPx();
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment