![获取form表单数据 获取form表单数据](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
var modelObj = {};
var modelFieldsArray = $('#AddMusic').serializeArray();
$.each(modelFieldsArray, function () {
modelObj[this.name] = this.value;
});
modelObj.MusicUrl = musicApp.commonKit.upLoadMng.fileMusicUrl;
modelObj.ImgUrl = musicApp.commonKit.upLoadMng.fileImgUrl;
var modelStr = JSON.stringify(modelObj);
var requestModel = {};
requestModel.method = "MusicCreate";
requestModel.modelstr = modelStr;