Skip to content

Commit

Permalink
fix : 카카오페이 url 수정, category 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunWoo9930 committed Nov 29, 2024
1 parent 931057b commit 4de12c8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ public record ReadyResponse(
String tid,
String next_redirect_pc_url,
String android_app_scheme,
String ios_app_scheme
String ios_app_scheme,
String next_redirect_app_url,
String next_redirect_mobile_url
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,40 @@

import com.jangburich.domain.store.domain.Category;
import com.querydsl.core.annotations.QueryProjection;

import lombok.Builder;

@Builder
public record SearchStoresResponse(
Long storeId,
String name,
Double latitude,
Double longitude,
Boolean isFavorite,
Category category,
Double distance,
String businessStatus,
String closeTime,
String phoneNumber,
String imageUrl
Long storeId,
String name,
Double latitude,
Double longitude,
Boolean isFavorite,
String category,
Double distance,
String businessStatus,
String closeTime,
String phoneNumber,
String imageUrl
) {

@QueryProjection
public SearchStoresResponse(Long storeId, String name, Double latitude, Double longitude, Boolean isFavorite,
Category category, Double distance, String businessStatus, String closeTime,
String phoneNumber, String imageUrl) {
this.storeId = storeId;
this.name = name;
this.latitude = latitude;
this.longitude = longitude;
this.isFavorite = isFavorite;
this.category = category;
this.distance = distance;
this.businessStatus = businessStatus;
this.closeTime = closeTime;
this.phoneNumber = phoneNumber;
this.imageUrl = imageUrl;
}
@QueryProjection
public SearchStoresResponse(Long storeId, String name, Double latitude, Double longitude, Boolean isFavorite,
Category category, Double distance, String businessStatus, String closeTime,
String phoneNumber, String imageUrl) {
this(
storeId,
name,
latitude,
longitude,
isFavorite,
category.getDisplayName(),
distance,
businessStatus,
closeTime,
phoneNumber,
imageUrl
);
}
}

0 comments on commit 4de12c8

Please sign in to comment.