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.
uni-Identify-quality/http/service.js

18 lines
309 B
JavaScript

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
})
}