You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import http from './interface'
|
|
|
|
export const postDataByParams = (url, data) => {
|
|
return http.request({
|
|
url: url,
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
|
|
export const getDataByParams = (url, data) => {
|
|
return http.request({
|
|
url: url,
|
|
method: 'GET',
|
|
data
|
|
})
|
|
}
|