package com.gkhy.safePlatform.doublePrevention.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/dob") public class TTst { @RequestMapping(value = "/tt",method = RequestMethod.GET) public Object ttt(){ return "aaa"; } }