#
luxiaotao1123
2020-09-24 b17e2a3f2bd85d18630cb447d65368e430c887f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.zy.asrs.controller;
 
import com.zy.asrs.service.impl.MainServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * Created by vincent on 2020/9/12
 */
@RestController
public class TestController {
 
    @Autowired
    private MainServiceImpl mainService;
 
    @GetMapping("/test")
    public String test(){
        mainService.test();
        return "ok";
    }
}