이준호 문자온API 커밋
- inqry 패키지 생성
This commit is contained in:
parent
3b0001618f
commit
c3068bb83a
@ -0,0 +1,16 @@
|
|||||||
|
package com.itn.mjonApi.mjon.api.inqry.service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @packageName : com.itn.mjonApi.mjon.api.inqry.service
|
||||||
|
* @fileName : PriceService.java
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2023.05.15
|
||||||
|
* @description :
|
||||||
|
* ===========================================================
|
||||||
|
* DATE AUTHOR NOTE
|
||||||
|
* -----------------------------------------------------------
|
||||||
|
* 2023.05.15 JunHo Lee 최초 생성
|
||||||
|
*/
|
||||||
|
public interface PriceService {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
package com.itn.mjonApi.mjon.api.inqry.service.impl;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import com.itn.mjonApi.mjon.api.inqry.service.PriceService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @packageName : com.itn.mjonApi.mjon.api.inqry.service.impl
|
||||||
|
* @fileName : PriceServiceImpl.java
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2023.05.15
|
||||||
|
* @description :
|
||||||
|
* ===========================================================
|
||||||
|
* DATE AUTHOR NOTE
|
||||||
|
* -----------------------------------------------------------
|
||||||
|
* 2023.05.15 JunHo Lee 최초 생성
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PriceServiceImpl implements PriceService {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
package com.itn.mjonApi.mjon.api.inqry.service.mapper;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @packageName : com.itn.mjonApi.mjon.api.inqry.service.mapper
|
||||||
|
* @fileName : PriceMapper.java
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2023.05.15
|
||||||
|
* @description :
|
||||||
|
* ===========================================================
|
||||||
|
* DATE AUTHOR NOTE
|
||||||
|
* -----------------------------------------------------------
|
||||||
|
* 2023.05.15 JunHo Lee 최초 생성
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface PriceMapper {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,45 @@
|
|||||||
|
package com.itn.mjonApi.mjon.api.inqry.web;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @packageName : com.itn.mjonApi.mjon.api.inqry.web
|
||||||
|
* @fileName : PriceRestController.java
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2023.05.15
|
||||||
|
* @description :
|
||||||
|
* ===========================================================
|
||||||
|
* DATE AUTHOR NOTE
|
||||||
|
* -----------------------------------------------------------
|
||||||
|
* 2023.05.15 JunHo Lee 최초 생성
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
@RestController
|
||||||
|
public class PriceRestController {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @methodName : selectSpamTxtChkAjax
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2023.05.15
|
||||||
|
* @param mjonMsgVO
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@PostMapping("/api/selectPrice")
|
||||||
|
public ResponseEntity<PlainResponse> selectPrice(MjonMsgVO mjonMsgVO){
|
||||||
|
|
||||||
|
|
||||||
|
return ResponseEntity.ok(new PlainResponse(HttpStatus.OK, "test" , LocalDateTime.now(), null));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -18,3 +18,5 @@ logging.level.jdbc.resultsettable=off
|
|||||||
|
|
||||||
spring.devtools.restart.enabled=true
|
spring.devtools.restart.enabled=true
|
||||||
spring.devtools.livereload.enabled=true
|
spring.devtools.livereload.enabled=true
|
||||||
|
|
||||||
|
server.error.whitelabel.enabled=false
|
||||||
Loading…
Reference in New Issue
Block a user