Skip to content

Commit

Permalink
Merge pull request #103 from kookmin-sw/refactor/chatcondition
Browse files Browse the repository at this point in the history
refactor: 이미지 마스크 레벨 기준 상향으로 인한 리팩터링
  • Loading branch information
imjanghyeok authored May 30, 2024
2 parents c29f8b3 + 604883f commit 19734f8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/main/java/capstone/facefriend/chat/aop/ChatAop.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.aspectj.lang.reflect.MethodSignature;
import org.springframework.beans.factory.annotation.Value;
Expand Down Expand Up @@ -52,12 +51,12 @@ public class ChatAop {
@Value("${spring.cloud.aws.s3.bucket}")
private String BUCKET_NAME;

private static final int LEVEL_TWO = 5;
private static final int LEVEL_THREE = 10;
private static final int LEVEL_FOUR = 15;
private static final int LEVEL_FIVE = 20;
private static final int LEVEL_SIX = 25;
private static final int LEVEL_SEVEN = 30;
private static final int LEVEL_TWO = 100;
private static final int LEVEL_THREE = 200;
private static final int LEVEL_FOUR = 300;
private static final int LEVEL_FIVE = 400;
private static final int LEVEL_SIX = 500;
private static final int LEVEL_SEVEN = 600;

@Pointcut("execution(* capstone.facefriend.chat.service.MessageService.sendHeart(..))")
private void sendHeart() {
Expand Down

0 comments on commit 19734f8

Please sign in to comment.