Compare commits

..

No commits in common. "d84000b5b4672250e9b93f210c1672edc759332a" and "0f30ec0e1984b7ca182a4f791b813194ed0c3c59" have entirely different histories.

2 changed files with 2 additions and 38 deletions

37
.gitignore vendored
View File

@ -1,37 +0,0 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/

View File

@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication @SpringBootApplication
@RestController @RestController
public class LabworkApplication { public class LabworkApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(LabworkApplication.class, args); SpringApplication.run(LabworkApplication.class, args);
} }
@ -31,7 +32,7 @@ public class LabworkApplication {
} }
@GetMapping("/mul") @GetMapping("/mul")
public int mul( @RequestParam(value = "num1", defaultValue = "0") int num1, public int mul( @RequestParam(value = "num1", defaultValue = "0") int num1,
@RequestParam(value = "num2", defaultValue = "0") int num2) @RequestParam(value = "num2", defaultValue = "0") int num2)
{ {
return num1 * num2; return num1 * num2;
} }