湖北武汉水利工程java后台
zhongrj
2023-03-28 13d9b2eae29165432befb54ba8448a25661370f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package cn.gistack.job.executor.controller;
 
import org.springblade.core.tool.api.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * 测试定时请求
 *
 * @author job
 */
@RestController
@RequestMapping("/test")
public class TestController {
 
    @GetMapping("testRequest")
    public R testRequest(String name) {
        return R.data("我是测试请求" + name);
    }
 
 
}