feat : attraction.js upload
This commit is contained in:
parent
9656cec5cb
commit
392e846342
15
src/api/attraction.js
Normal file
15
src/api/attraction.js
Normal 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 };
|
Loading…
Reference in New Issue
Block a user