mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Sextou éusguri
This commit is contained in:
parent
e157f200f8
commit
de9ddc9069
3 changed files with 16 additions and 1 deletions
|
@ -0,0 +1,14 @@
|
|||
package org.springframework.samples.petclinic.product;
|
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class ProductController {
|
||||
|
||||
@GetMapping("/products")
|
||||
public String showProductList(){
|
||||
return "Hacker 2.0";
|
||||
}
|
||||
}
|
|
@ -23,3 +23,4 @@ logging.level.org.springframework=INFO
|
|||
|
||||
# Maximum time static resources should be cached
|
||||
spring.resources.cache.cachecontrol.max-age=12h
|
||||
server.port = 8081
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
class="form-horizontal" id="search-owner-form">
|
||||
<div class="form-group">
|
||||
<div class="control-group" id="lastNameGroup">
|
||||
<label class="col-sm-2 control-label">Last name </label>
|
||||
<label class="col-sm-2 control-label">Last Name</label>
|
||||
<div class="col-sm-10">
|
||||
<input class="form-control" th:field="*{lastName}" size="30"
|
||||
maxlength="80" /> <span class="help-inline"><div
|
||||
|
|
Loading…
Reference in a new issue