[ajaxupload] - 上传文件同时附件参数值
$.ajax({
url: '/excel/importExcel?instance='+"品种1",
type: 'POST',
data: formData,
上面前端通过?拼接参数.
后台接受如下:
public Integer importExcel(@RequestParam(value = "uploadFile") MultipartFile uploadFile, @RequestParam(value="instance")String instance,Model model){ System.out.println("instance"+instance);
本文来自博客园,作者:ukyo--君君小时候,转载请注明原文链接:https://www.cnblogs.com/ukzq/p/10402404.html