Fix : 수정
This commit is contained in:
@@ -6,6 +6,6 @@ dependencies {
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0'
|
||||
|
||||
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer:latest'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j:3.1.1'
|
||||
implementation 'org.springframework.cloud:spring-cloud-starter-loadbalancer:4.1.2'
|
||||
}
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@ import com.ktds.hi.recommend.biz.usecase.in.StoreRecommendUseCase;
|
||||
import com.ktds.hi.recommend.infra.dto.request.RecommendStoreRequest;
|
||||
import com.ktds.hi.recommend.infra.dto.response.RecommendStoreResponse;
|
||||
import com.ktds.hi.recommend.infra.dto.response.StoreDetailResponse;
|
||||
import com.ktds.hi.common.dto.response.ApiResponse;
|
||||
import com.ktds.hi.common.dto.response.PageResponse;
|
||||
import com.ktds.hi.common.dto.ApiResponse;
|
||||
import com.ktds.hi.common.dto.PageResponse;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
+3
-3
@@ -4,7 +4,7 @@ import com.ktds.hi.recommend.biz.usecase.in.TasteAnalysisUseCase;
|
||||
import com.ktds.hi.recommend.infra.dto.request.TasteUpdateRequest;
|
||||
import com.ktds.hi.recommend.infra.dto.response.TasteAnalysisResponse;
|
||||
import com.ktds.hi.recommend.infra.dto.response.PreferenceTagResponse;
|
||||
import com.ktds.hi.common.dto.response.ApiResponse;
|
||||
import com.ktds.hi.common.dto.ApiResponse;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
@@ -45,12 +45,12 @@ public class TasteAnalysisController {
|
||||
*/
|
||||
@PostMapping("/update")
|
||||
@Operation(summary = "취향 프로필 업데이트", description = "사용자의 리뷰 데이터를 기반으로 취향 프로필을 업데이트합니다.")
|
||||
public ResponseEntity<ApiResponse<Void>> updateTasteProfile(
|
||||
public ResponseEntity<ApiResponse<String>> updateTasteProfile(
|
||||
Authentication authentication,
|
||||
@Valid @RequestBody TasteUpdateRequest request) {
|
||||
|
||||
Long memberId = Long.valueOf(authentication.getName());
|
||||
tasteAnalysisUseCase.updateTasteProfile(memberId, request);
|
||||
tasteAnalysisUseCase.updateTasteProfile(memberId);
|
||||
|
||||
return ResponseEntity.ok(ApiResponse.success("취향 프로필이 업데이트되었습니다"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user