package com.panzhihua.sangeshenbian.controller; import com.panzhihua.common.model.vos.R; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/test") @Api(tags = "测试") public class TestController { @GetMapping("/hello") @ApiOperation(value = "hello") public R hello() { return R.ok("hello"); } }