修改

parent f2bb5f61
...@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/hello") @RequestMapping("/hello")
public class HelloController { public class HelloController {
@RequestMapping("/hello") @RequestMapping("/hello")
public JsonResult hello(){ public String hello(){
return JsonResult.buildSuccessResult("",null); return "ok";
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment