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.
14 lines
209 B
JavaScript
14 lines
209 B
JavaScript
11 months ago
|
import http from './interface'
|
||
|
|
||
|
export const request = (url, data, type) => {
|
||
|
return http.request({
|
||
|
url: url,
|
||
|
method: type || 'POST',
|
||
|
data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export default {
|
||
|
request,
|
||
|
}
|