feign 调用的问题:Method has too many Body parameters: public abstract java.lang.String cn.hc
原创
©著作权归作者所有:来自51CTO博客作者wx5cb71f4b705da的原创作品,请联系作者获取转载授权,否则将追究法律责任
必须要加上@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);
}