Комит перед созданием ветви
This commit is contained in:
parent
0f30ec0e19
commit
382e4729fb
@ -9,7 +9,6 @@ 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);
|
||||||
}
|
}
|
||||||
@ -32,7 +31,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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user