请问这个可以看的出来怎么提交数据的么
<script type="text/javascript">function ChangeCurrentWorkGroup(obj) {
$(".role-submenu .submenu li a").removeClass("current");
$(obj).addClass("current");
$("#lbCurrentWorkGroup").empty();
$("#lbCurrentWorkGroup").append("角色-" + $(obj).html());
var workGroupId = $(obj).attr("workgroupid");
$.messager.progress({ title: '提示', msg: '正在提交请求,请稍候……' });
$.ajax({
type: "POST",
url: '/User/SaveUserSystemSetting',
data: "WorkGroupId=" + workGroupId + "&time=" + new Date().getMilliseconds(),
success: function (msg) {
if (msg && msg.indexOf("出错") != -1) {
$.messager.progress('close');
$.messager.show({ title: '提示', msg: msg, showType: 'show' });
return false;
}
window.location.href = '/Admin'; //刷新页面
// $(".role-menu li .role-submenu").hide();
// IniLeftMenu();
// IniContentBox();
}
});
}
function IniLeftMenu() {
var MenuController = ''
var MenuAction = ''
var url = '/Admin/UserCurrentMenu' + "?MenuController=" + MenuController + "&MenuAction=" + MenuAction + "&date=" + new Date().getMilliseconds();
$("#divUserMenu").load(url, function () {
setLeftMenu();
});
}
function IniContentBox() {
// var url = '/Admin/Home' + "?date=" + new Date().getMilliseconds();
// $("#layoutCenterBox").load(url, function () {
// ;
// });
}
$(function () {
IniLeftMenu();
IniContentBox();
});
</script>
</div>
<div id="layoutCenterBox" class="layout-center">
<script type="text/javascript">
$(function () {
if (isAjax) {
var url = '/Equipment/AppointmentBoxIndex?id=f4e3fd78-4356-4535-8f05-6034ac7311bf';
if (url != "") {
url = url.replace("&", "&");
ajaxActionLink(url, "Loading", "layoutCenterBox", ajaxloadsuccess, dialogOpen);
}
else ajaxActionLink('/Admin/Home', "Loading", "layoutCenterBox", ajaxloadsuccess, dialogOpen);
}
});
</script>
$.ajax({
type: "POST",
url: '/User/SaveUserSystemSetting',
data: "WorkGroupId=" + workGroupId + "&time=" + new Date().getMilliseconds(),
success: function (msg) {
if (msg && msg.indexOf("出错") != -1) {
$.messager.progress('close');
$.messager.show({ title: '提示', msg: msg, showType: 'show' });
return false;
}
window.location.href = '/Admin'; //刷新页面
// $(".role-menu li .role-submenu").hide();
// IniLeftMenu();
// IniContentBox();
}
}); qqqq 发表于 2018-5-15 20:45
$.ajax({
type: "POST",
url: '/User/SaveUserSystemSetting',
有办法可以伪装POST么?如果我用别的语言写 x.x/User/SaveUserSystemSetting
WorkGroupId=
time= asdqwe876 发表于 2018-5-15 21:46
x.x/User/SaveUserSystemSetting
WorkGroupId=
好的,谢谢yc019t mulincheng8 发表于 2018-5-15 20:51
直接Burp抓包改包多方便。。。
好的,我自己谷歌学习一下你提到的这个
页:
[1]