@@ -0,0 +1,1195 @@
+package com.lance.springfox.web;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport org.springframework.ui.Model;%0Aimport org.springframework.web.bind.annotation.PathVariable;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0Aimport org.springframework.web.bind.annotation.RequestParam;%0Aimport org.springframework.web.bind.annotation.RestController;%0A%0A@RestController%0A@RequestMapping(%22api/v1.0/home/%22)%0Apublic class FoxController %7B%0A%0A%09/**%0A%09 * %E6%9F%A5%E8%AF%A2%E6%89%80%E6%9C%89%E8%AE%B0%E5%BD%95%0A%09 * @param params Map%E5%8F%82%E6%95%B0%0A%09 * @param model%09 Model%0A%09 * @return%0A%09 */%0A%09@RequestMapping(value=%22findAll%22, method=RequestMethod.GET)%0A%09public String findAll(Map%3CString, Object%3E params, Model model)%7B%0A%09%09return %22findAll%22;%0A%09%7D%0A%09%0A%09/**%0A%09 * %E6%9F%A5%E8%AF%A2%E6%89%80%E6%9C%89%E8%AE%B0%E5%BD%95%0A%09 * @param id %09 id%E5%8F%82%E6%95%B0%0A%09 * @param model%09 Model%0A%09 * @return%0A%09 */%0A%09@RequestMapping(value=%22delete/%7Bid%7D%22, method=RequestMethod.DELETE)%0A%09public String remove(@PathVariable int id, Model model)%7B%0A%09%09return %22remove%22;%0A%09%7D%0A%09%0A%09/**%0A%09 * View%0A%09 * @param name%0A%09 * @param address%0A%09 * @return%0A%09 */%0A%09@RequestMapping(value=%22view%22, method=RequestMethod.GET)%0A%09public String view(@RequestParam String name, @RequestParam List%3CString%3E address)%7B%0A%09%09return %22view%22;%0A%09%7D%0A%7D%0A

add fox controller test rest