$.ajaxFileUpload({
url : '/updateMallGoods',
data : {
"goodsName":goodsName,
"proDesc":proDesc,
"specArray":JSON.stringify(myArray),
"newspecArray":JSON.stringify(newmyArray),
"goodsId":goodsId
},
type : "POST",
secureuri : false, //是否启用安全提交,默认为false
fileElementId :filearray, //文件选择框的id属性['file-1','file-2','file-3','file-4','file-5','file-6']
dataType : "json",
success : function(msg) {
var json = $.parseJSON(msg);
alert(json.message);
},error : function(msg){
console.log("xxxx");
console.log(msg);
}
})

相关文章:

  • 2021-08-20
  • 2022-02-15
  • 2021-10-07
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-01-17
  • 2022-01-26
猜你喜欢
  • 2021-06-13
  • 2022-01-13
  • 2022-12-23
  • 2021-12-08
  • 2021-04-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案