function getUrl () { req().then(res => { console.log(res);
}).catch(err => { console.log(err);
})}
export async function myReq () {
await getUrl();
return '123';
}