Compare commits
5 Commits
6ae695d408
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f35c0339c | |||
| 64407214e4 | |||
| 876ba24905 | |||
| f54ca310bb | |||
| e7b23a06f1 |
@@ -1,8 +1,9 @@
|
|||||||
package pytel.laby1.Controller;
|
package pytel.laby1.Controller;
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@Controller
|
@RestController
|
||||||
public class UserController {
|
public class UserController {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ package pytel.laby1;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class Laby1Application {
|
public class Laby1Application {
|
||||||
|
|
||||||
@@ -11,6 +13,7 @@ public class Laby1Application {
|
|||||||
System.out.println("Start aplikacji");
|
System.out.println("Start aplikacji");
|
||||||
System.out.println("Kolejna linijka");
|
System.out.println("Kolejna linijka");
|
||||||
System.out.println("Kolejna linijka2");
|
System.out.println("Kolejna linijka2");
|
||||||
|
System.out.println(new Date());
|
||||||
SpringApplication.run(Laby1Application.class, args);
|
SpringApplication.run(Laby1Application.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user