이준호 문자온API 커밋
- 인터셉터 url패턴 변경 - 오류 수정
This commit is contained in:
parent
68592e5adc
commit
cf7ccbc870
@ -30,8 +30,8 @@ public class WebConfig implements WebMvcConfigurer {
|
|||||||
@Override
|
@Override
|
||||||
public void addInterceptors(InterceptorRegistry registry) {
|
public void addInterceptors(InterceptorRegistry registry) {
|
||||||
registry.addInterceptor(certifInterceptor())
|
registry.addInterceptor(certifInterceptor())
|
||||||
.addPathPatterns("/api/accessKey/**")
|
.addPathPatterns("/api/**")
|
||||||
//.addPathPatterns("/api/accessTest/**")
|
.excludePathPatterns("/api/accessTest/**")
|
||||||
;
|
;
|
||||||
//.excludePathPatterns("/css/**", "/images/**", "/js/**");
|
//.excludePathPatterns("/css/**", "/images/**", "/js/**");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,8 +8,6 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
import com.itn.mjonApi.cmn.msg.PlainResponse;
|
import com.itn.mjonApi.cmn.msg.PlainResponse;
|
||||||
import com.itn.mjonApi.cmn.msg.RestResponse;
|
|
||||||
import com.itn.mjonApi.mjon.api.send.mapper.domain.MjonMsgVO;
|
|
||||||
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
@ -36,10 +34,10 @@ public class PriceRestController {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/api/selectPrice")
|
@PostMapping("/api/selectPrice")
|
||||||
public ResponseEntity<PlainResponse> selectPrice(MjonMsgVO mjonMsgVO){
|
public ResponseEntity<PlainResponse> selectPrice(){
|
||||||
|
|
||||||
|
|
||||||
return ResponseEntity.ok(new PlainResponse(HttpStatus.OK, "test" , LocalDateTime.now(), null));
|
return ResponseEntity.ok(new PlainResponse(HttpStatus.OK, "test" , LocalDateTime.now(), ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user