1.
luofl
2025-02-22 7e729efa9c633e9740159c9f694f38bbb41108f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 <String> hello() {
        return R.ok("hello");
    }
}