ajax提交form表单 返回接受值,form 表单 ajaxSubmit 提交后接收不到返回值

前台代码

$("#formSave").ajaxSubmit({

success: function (data) {

ShowMsg(data.message)

if (data.success) {

window.location.href = "/CouponManage/BusinessCoupon/List";

}

},

error: function (data) {

ShowMsg(data.message);

}

});

后台代码

public JsonResult UpdateSave()

{

Guid guid = new Guid(Request["CouponGuid"]);

string Title = Request["title"];

string Detial = Request["desc"];

string msg = "";

CouponLogic bll = new CouponLogic(this.OpertorGuid);

Coupon coup = new Coupon();

coup.Guid = guid;

coup.Title = Title;

coup.Description = Detial;

bool flag = bll.UpdateCoupon(UserAccount, ChainStoreGuid, coup, out msg);

return Json(new { success = flag, msg = msg });

}

结果直接在浏览器里面输出了

{"success":true,"message":"修改成功!"}

ajax提交哪里没有办法处理结果