zhongrj
2023-06-03 b112d242575fe96123b1e8dad434f46e6d2bb3d1
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);
    }
 
 
}