2017-04-22 13:44:36 +00:00
|
|
|
import { fetch } from 'utils/fetch';
|
2017-04-19 10:43:57 +00:00
|
|
|
|
2017-04-21 07:12:45 +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-04-23 11:50:32 +00:00
|
|
|
|
|
|
|
export function getArticle() {
|
|
|
|
return fetch({
|
|
|
|
url: '/article/detail',
|
|
|
|
method: 'get'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|