feat: 문자 발송에 대한 에 대한 interceptor 진행중
This commit is contained in:
parent
595763deaf
commit
c50db98993
@ -29,10 +29,23 @@ public class WebConfig implements WebMvcConfigurer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addInterceptors(InterceptorRegistry registry) {
|
public void addInterceptors(InterceptorRegistry registry) {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 모든 api 요청에 대한 key 인증 밑 lettnloginlog Insert
|
||||||
|
*/
|
||||||
registry.addInterceptor(certifInterceptor())
|
registry.addInterceptor(certifInterceptor())
|
||||||
.addPathPatterns("/api/**")
|
.addPathPatterns("/api/**")
|
||||||
.excludePathPatterns("/api/accessTest/**")
|
.excludePathPatterns("/api/accessTest/**")
|
||||||
;
|
;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 2023-05-16
|
||||||
|
* send에 대한 interceptor 설정 - lettngnrlmber_access_log Insert
|
||||||
|
* 진행중
|
||||||
|
*/
|
||||||
|
// registry.addInterceptor(certifInterceptor())
|
||||||
|
// .addPathPatterns("/api/send/**")
|
||||||
|
// ;
|
||||||
//.excludePathPatterns("/css/**", "/images/**", "/js/**");
|
//.excludePathPatterns("/css/**", "/images/**", "/js/**");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -47,7 +47,7 @@ public class SendRestController {
|
|||||||
* @Discription 문자 발송 테스트
|
* @Discription 문자 발송 테스트
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/api/sendTest")
|
@PostMapping("/api/send/sendTest")
|
||||||
public MjonResponseVO sendTest(MsgRequestVO msgRequestVO) throws Exception {
|
public MjonResponseVO sendTest(MsgRequestVO msgRequestVO) throws Exception {
|
||||||
|
|
||||||
return sendService.sendMsgData(msgRequestVO);
|
return sendService.sendMsgData(msgRequestVO);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user