Patch no image data final

This commit is contained in:
jleroy
2024-05-02 13:55:56 +02:00
parent 6cd102603e
commit 71bdd65ae2
3 changed files with 642 additions and 2 deletions

View File

@@ -35,14 +35,16 @@ public class ArticleController {
private CategorieService categorieService;
private RetraitService retraitService;
private EnchereService enchereService;
private FileService fileService;
public ArticleController(ArticleService articleService, UserService userService, CategorieService categorieService,
RetraitService retraitService, EnchereService enchereService) {
RetraitService retraitService, EnchereService enchereService, FileService fileService) {
this.articleService = articleService;
this.userService = userService;
this.categorieService = categorieService;
this.retraitService = retraitService;
this.enchereService = enchereService;
this.fileService = fileService;
}
@GetMapping
@@ -83,6 +85,7 @@ public class ArticleController {
model.addAttribute("maxEncherePseudo", pseudoMaxEnchere.orElse(null));
model.addAttribute("isArticleCurrentUser", isArticleCurrentUser);
model.addAttribute("article", article);
model.addAttribute("fileService", fileService);
model.addAttribute("username", user);
model.addAttribute("cate", cate.getLibelle());
model.addAttribute("retrait", retrait);