This commit is contained in:
kimscott
2019-12-10 15:30:48 +09:00
parent ce2007ec7c
commit 6a218b1f68
3 changed files with 3 additions and 16 deletions

View File

@@ -1,15 +0,0 @@
{
"name": "BOTTLE",
"price": 100,
"stock": 200,
"productOptions": [
{
"optionName": "color",
"desc": "red"
},
{
"optionName": "size" ,
"desc": "small"
}
]
}

View File

@@ -24,7 +24,7 @@ public class Application {
product.setImageUrl("https://github.githubassets.com/images/modules/profile/profile-joined-github.png");
product.setName(p);
product.setPrice(i*10000);
product.setStock(i*10);
product.setStock(i*1000000);
product.setImageUrl("/goods/img/"+p+".jpg");
// 상품 디테일 추가 - 양방향 관계

View File

@@ -10,6 +10,7 @@ spring:
hibernate:
show_sql: true
format_sql: true
cloud:
stream:
kafka:
@@ -25,6 +26,7 @@ spring:
brokers: localhost:9092
streams:
binder:
serdeError: sendToDlq
configuration:
default:
key: