Skip to content

Commit

Permalink
[feat] 전체 카테고리 추가 (#236)
Browse files Browse the repository at this point in the history
* [feat] 전체 카테고리 추가

* [chore] add All category image url to yml
  • Loading branch information
Parkjyun authored Dec 26, 2024
1 parent 1434169 commit 11ea954
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server-yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public enum StoreCategory {
BUNSIK("분식"),
SALADSANDWICH("샐러드"),
FASTFOOD("패스트푸드"),
WORLD("세계음식");
WORLD("세계음식"),
ALL("전체");

private final String name;
private String url;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public class StoreCategoryImageInjector {
@Value("${store.category-image.western}")
private String western;

@Value("${store.category-image.all}")
private String all;

@PostConstruct
public void init() {
StoreCategory.BUNSIK.setUrl(boonsickUrl);
Expand All @@ -45,5 +48,6 @@ public void init() {
StoreCategory.CONVENIENCEFOOD.setUrl(conveniencefoodUrl);
StoreCategory.JAPANESE.setUrl(japaneseUrl);
StoreCategory.WESTERN.setUrl(western);
StoreCategory.ALL.setUrl(all);
}
}

0 comments on commit 11ea954

Please sign in to comment.