이준호 문자온API 커밋

- inqry 패키지 생성
This commit is contained in:
leejunho 2023-05-15 18:16:57 +09:00
parent 3b0001618f
commit c3068bb83a
5 changed files with 104 additions and 0 deletions

View File

@ -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 {
}

View File

@ -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 {
}

View File

@ -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 {
}

View File

@ -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));
}
}

View File

@ -18,3 +18,5 @@ logging.level.jdbc.resultsettable=off
spring.devtools.restart.enabled=true
spring.devtools.livereload.enabled=true
server.error.whitelabel.enabled=false