Skip to content

Conversation

@2ghrms
Copy link
Member

@2ghrms 2ghrms commented Dec 16, 2025

No description provided.

leesumin0526 and others added 30 commits September 10, 2025 21:34
- TTS 설정
[DEPLOY] v1.4 notification refactor
…into refactor/#38-chatting-change-securityutil-to-principaldetails

# Conflicts:
#	src/main/resources/application.yml
#	src/test/java/com/assu/server/ServerApplicationTests.java
- Major 와 Department 매핑
- signupSsuStudent 메소드에 적용
- 소프트 삭제 방식 (deletedAt 필드)
- 탈퇴 회원 재로그인 시 자동 복구
- 회원탈퇴 API 엔드포인트 추가
- 토큰 무효화 및 보안 처리
- 소프트 삭제 방식 (deletedAt 필드)
- 탈퇴 회원 재로그인 시 자동 복구
- 회원탈퇴 API 엔드포인트 추가
- 토큰 무효화 및 보안 처리
[REFACTOR/#89] 로그인 및 회원가입 리팩토링 / [FEAT/#92] 회원탈퇴 API
[FIX] 알리고 수정 및 로그인 반환 수정
[DEPLOY]  v1.5 알리고 fix & 로그인 반환 에러 수정
[Refactor/#85] 웹소켓 인증과 잡다한 로직 수정
…into refactor/#38-chatting-change-securityutil-to-principaldetails

# Conflicts:
#	src/main/java/com/assu/server/global/apiPayload/code/status/ErrorStatus.java
…urityutil-to-principaldetails

[Refactor] 채팅 api 수정
 - 제휴 API 추가 구현 및 수정
[DEPLOY] v1.6 Chatting 수정
 - 제휴 API 추가 구현 및 수정
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용 안한다면 삭제요청

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어노테이션 엔터

return null;
}

private static String buildPaperContentText(PaperContent content, List<String> goodsList, Integer peopleValue) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제휴 바뀐다면 여기도 수정 필요

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용하는건가요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용안하면 삭제 필요

private final PartnerRepository partnerRepository;
private final StoreRepository storeRepository;

private final AmazonS3Manager amazonS3Manager;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변수 선언은 상단에 한번에 하는게 보기 좋을듯

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

서희랑 나눠서 작업하느라 갈렸나봐요 수정하겠습니다

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

컨버터 사용하기

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

명세에 맞게 수정

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석삭제


import java.util.List;

public class ReviewRequestDTO {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공백 왜이럼ㅋㅋ

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

명세에 맞게 수정

@RequiredArgsConstructor
@Builder
@Getter
public static class todayBest{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

대문자

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여백체크

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아래 싹 안쓰는거면 삭제 필요

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

사용하나요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

에러처리할 때 기본적으로 http 메서드 자체는 200을 리턴하고, 내부 파라미터 code를 무슨 에러인지 (401)리턴하는 방식도 고려해보면 좋을 것 같음

import com.assu.server.domain.user.entity.enums.Major;
import com.assu.server.domain.user.entity.enums.University;

// PaperQueryServiceImpl 이 AdminService 참조 중 -> 순환참조 문제 발생하지 않도록 주의
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석 지우기

import jakarta.persistence.MapsId;
import jakarta.persistence.OneToOne;
import jakarta.persistence.Id;
import jakarta.persistence.*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안쓰는 모듈 지우기 혹은 통일하기

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alt + ctrl + O (window 기준)
cmd + ctrl + O (맥북기준은 찾아보기)

import java.util.Optional;

import com.assu.server.domain.admin.entity.Admin;
import com.assu.server.domain.common.enums.ActivationStatus;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안쓰는 모듈 지우기


@Enumerated(EnumType.STRING)
@NotNull
private University university;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NotNull의 표시를 통해 필드값 주입 명확히 할 수 있도록 할 것

private final AdminRepository adminRepository;
private final PartnerRepository partnerRepository;
@Override
@Transactional
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이와 같은 부분 서비스단에 @transactional 달아준 후에 해당하는 부분만 readOnly로 명시할 것

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

필드 개수와 상관없이 바꿀거면 전부 다 바꾸는게 좋아보입니다


private LocalDateTime phoneVerifiedAt;

private String profileUrl;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NotNull의 표시를 통해 필드값 주입 명확히 할 수 있도록 할 것

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

완성된 제휴 문장 백엔드에서 완성해서 String으로 프론트 보내기

List<StoreUsageWithPaper> findUsageByStoreIncludingZero(@Param("adminId") Long adminId);

interface StoreUsageWithPaper {
Long getPaperId(); // 🆕 추가: Paper ID
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이모지

@OneToMany(mappedBy = "review", cascade = CascadeType.ALL, fetch = FetchType.LAZY)
private List<ReviewPhoto> imageList = new ArrayList<>();

public List<ReviewPhoto> getImageList() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

위치 마음에 안듧

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오잉?

Copy link
Contributor

@BAEK0111 BAEK0111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@leesumin0526 leesumin0526 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이수민 리팩 진행 중

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ refactor Refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants