|
|
@ -7,9 +7,9 @@ import com.epmet.commons.tools.utils.Result; |
|
|
|
import org.apache.logging.log4j.LogManager; |
|
|
|
import org.apache.logging.log4j.Logger; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.Map; |
|
|
@ -21,7 +21,7 @@ import java.util.Map; |
|
|
|
* @Date 2020-07-10 09:27 |
|
|
|
*/ |
|
|
|
|
|
|
|
@Controller |
|
|
|
@RestController |
|
|
|
@RequestMapping("demo") |
|
|
|
public class TestController { |
|
|
|
private Logger logger = LogManager.getLogger(TestController.class); |
|
|
|