feat : attraction.js upload

This commit is contained in:
이정혁 2024-05-16 11:49:18 +09:00
parent 9656cec5cb
commit 392e846342

15
src/api/attraction.js Normal file
View File

@ -0,0 +1,15 @@
import { localAxios } from "@/utils/http-commons";
const local = localAxios;
function getArticles(contentTypeId, sidoCode, gugunCode, title, success, fail) {
//list
local
.get(
`/attraction/search?contentTypeId=${contentTypeId}&sidoCode=${sidoCode}&gugunCode=${gugunCode}&title=${title}`
)
.then(success)
.catch(fail);
}
export { getArticles };