-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature/order] 주문 정보 가져오는 부분 수정 및 enum에서 Integer값을 가져오고 저장하도록 변경 #218
Conversation
//package com.feelmycode.parabole.global.config; | ||
// | ||
//import org.springframework.context.annotation.Configuration; | ||
//import org.springframework.web.servlet.config.annotation.CorsRegistry; | ||
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; | ||
// | ||
//@Configuration | ||
//public class WebMvcConfig implements WebMvcConfigurer { | ||
// private final long MAX_AGE_SECS = 3600; | ||
// | ||
// @Override | ||
// public void addCorsMappings(CorsRegistry registry) { | ||
// registry.addMapping("/api/v1/**") | ||
// .allowedOrigins("*") | ||
// .allowedMethods("*") | ||
// .allowedHeaders("*") | ||
// .exposedHeaders("*") | ||
// .maxAge(MAX_AGE_SECS); | ||
// } | ||
//} | ||
package com.feelmycode.parabole.global.config; | ||
|
||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.web.servlet.config.annotation.CorsRegistry; | ||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; | ||
|
||
@Configuration | ||
public class WebMvcConfig implements WebMvcConfigurer { | ||
private final long MAX_AGE_SECS = 3600; | ||
|
||
@Override | ||
public void addCorsMappings(CorsRegistry registry) { | ||
registry.addMapping("/api/v1/**") | ||
.allowedOrigins("*") | ||
.allowedMethods("*") | ||
.allowedHeaders("*") | ||
.exposedHeaders("*") | ||
.maxAge(MAX_AGE_SECS); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이거 수정하시면 안돼요오옹
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 수정햇서용
305dd12
to
ce8b6f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍👍👍👍👍
개요
enum을 저장할 때 index0부터 들어가는데 음수 값을 넣어야 하기 때문에 Integer로 수정하는 작업 수행
작업한 내용
테스트 결과
이슈번호
[#176]