This commit is contained in:
lee-soo-heon
2019-09-05 16:33:36 +09:00
8 changed files with 9 additions and 3 deletions

View File

@@ -20,6 +20,10 @@
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>

View File

@@ -23,7 +23,4 @@ public class AbstractEvent {
this.timestamp = timestamp;
}
public boolean isMe(){
return getEventType().equals(getClass().getSimpleName());
}
}

View File

@@ -26,6 +26,11 @@ public class Application {
product.setName(p);
product.setPrice(i*10000);
product.setStock(i*10);
<<<<<<< HEAD
=======
product.setImageUrl("/goods/img/"+p+".jpg");
// product.setImageUrl("https://github.githubassets.com/images/modules/profile/profile-joined-github.png");
>>>>>>> 3cacf53fd2411f3f08694619bc7673b3d4e16af7
i++;
productRepository.save(product);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB