田源
2023-11-24 338a92c9e5b28d61017c9ca5d77fe93e2dd0b013
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.vci.ubcs.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);
    }
 
 
}