export function getdata (data: any) {
const urlall: any = geturl() // 获取路由
const resulturl = urlall.getallstore // 获取数据接口
return new Promise((resolve, reject) => {
axios({
headers: { 'Content-Type': 'application/json;' },
method: 'post',
url: resulturl,
data: JSON.stringify(data)
}).then(res => {
resolve(res)
})
})
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)