쿠폰 리스트 가져오기 API 수정
AS-IS: 캔 타입 String TO-BE: 캔 타입 Int
This commit is contained in:
		| @@ -30,7 +30,7 @@ class CanCouponService( | ||||
|                 GetCouponListItemResponse( | ||||
|                     id = it.id!!, | ||||
|                     couponName = it.couponName, | ||||
|                     can = "${it.can}캔", | ||||
|                     can = it.can, | ||||
|                     couponCount = it.couponCount, | ||||
|                     useCouponCount = useCouponCount, | ||||
|                     validity = it.validity.format(DateTimeFormatter.ofPattern("yyyy-MM-dd")), | ||||
|   | ||||
| @@ -8,7 +8,7 @@ data class GetCouponListResponse( | ||||
| data class GetCouponListItemResponse( | ||||
|     val id: Long, | ||||
|     val couponName: String, | ||||
|     val can: String, | ||||
|     val can: Int, | ||||
|     val couponCount: Int, | ||||
|     val useCouponCount: Int, | ||||
|     val validity: String, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user