frontend add

This commit is contained in:
shinmj
2021-10-21 09:03:17 +09:00
parent 8caa4bbc5a
commit cb9d50511e
443 changed files with 88282 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import axios from 'axios'
/**
* 컨텐츠 데이터 타입
*/
export interface IContent {
contentName: string
contentRemark: string
contentValue: string
}
/**
* 포털 서비스 컨텐츠 API URL
*/
const CONTENT_URL = '/portal-service/api/v1/contents'
/**
* 컨텐츠 관리 서비스
*/
export const contentService = {
get: async (contentNo: number) => axios.get(`${CONTENT_URL}/${contentNo}`),
}