Sample module imported
This commit is contained in:
1 parent
8c7d727e98
commit
386138ea62
3 files changed
+39
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package com.plannaplan;
|
||||
|
||||
import org.springframework.web.bind.annotation.CrossOrigin;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@CrossOrigin
|
||||
public class TestController {
|
||||
@GetMapping("/")
|
||||
public String xd() {
|
||||
SampleClass xd = new SampleClass("hedhadhsbajkd");
|
||||
return "<h1>" + xd.getXd() + "</h1>";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user