Add DemoController
Change-Id: Id31631f48ebf0e61e62ff827c4eff8d5d8ba792b
This commit is contained in:
parent
b338888048
commit
016863656f
@ -0,0 +1,14 @@
|
|||||||
|
package com.example.demo;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
public class DemoController {
|
||||||
|
|
||||||
|
@RequestMapping("/")
|
||||||
|
public Object root() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user