必须要加上@RequestParam

  • 成功的一个范例,记录仪下
@FeignClient(name = "hcnet-website-1")
public interface SysUeditorService {
@RequestMapping("/")
public String showPage();
@RequestMapping("/content")
public String findContent(@RequestParam String content, @RequestParam String content1);

@RequestMapping(value="/ueditor")
public String ueditor(HttpServletRequest request);

@RequestMapping(value="/imgUpload")
public Map<String, Object> images (@RequestParam MultipartFile upfile, @RequestParam HttpServletRequest request, @RequestParam HttpServletResponse response);

@RequestMapping(value="/videoUpload")
public Map<String, Object> videos (@RequestParam MultipartFile upfile,@RequestParam HttpServletRequest request,@RequestParam HttpServletResponse response);

@RequestMapping(value="/fileUpload")
public Map<String, Object> files (@RequestParam MultipartFile upfile, @RequestParam HttpServletRequest request,@RequestParam HttpServletResponse response);
}