mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
18 lines
284 B
JavaScript
18 lines
284 B
JavaScript
import fetch from 'utils/fetch'
|
|
|
|
export function fetchList(query) {
|
|
return fetch({
|
|
url: '/article_table/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function fetchPv(pv) {
|
|
return fetch({
|
|
url: '/article_table/pv',
|
|
method: 'get',
|
|
params: { pv }
|
|
})
|
|
}
|