- package com.zksy.controller;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- @RequestMapping("/test")
- @RestController
- public class TestController {
- @RequestMapping("/a")
- public String hello() {
- return "性与暴力";
- }
- }
|