fe-drone-ci/src/api/article.js

17 lines
234 B
JavaScript
Raw Normal View History

2017-08-22 07:43:34 +00:00
import fetch from 'utils/fetch'
2017-04-19 10:43:57 +00:00
2017-08-22 07:43:34 +00:00
export function getList () {
2017-04-22 13:44:36 +00:00
return fetch({
2017-04-19 10:43:57 +00:00
url: '/article/list',
method: 'get'
2017-08-22 07:43:34 +00:00
})
2017-04-19 10:43:57 +00:00
}
2017-04-23 11:50:32 +00:00
2017-08-22 07:43:34 +00:00
export function getArticle () {
2017-04-23 11:50:32 +00:00
return fetch({
url: '/article/detail',
method: 'get'
2017-08-22 07:43:34 +00:00
})
2017-04-23 11:50:32 +00:00
}