export const getData = (url)=>{ return new Promise((resovle,reject)=>{ uri.request({ url, method:'get' }) .then(res=>resovle(res)) .catch(err=>reject(err)) }) }
Powered by: 博客园 Copyright © 2024 lazycookie Powered by .NET 9.0 on Kubernetes