import wepy from 'wepy'
const baseURL = '根路径'
wepy.get = function (url, method, data = {}) {
return wepy.request({
url: baseURL + url,
method,
data
})
}
import wepy from 'wepy'
const baseURL = '根路径'
wepy.get = function (url, method, data = {}) {
return wepy.request({
url: baseURL + url,
method,
data
})
}